X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftabular.h;h=810037f9853463ca52404082cadbc2aa62b7fb96;hb=ab254289c832cd045c56e6012d14b048618cb833;hp=4910024086439589465bd14485e5d2cdd5c27adb;hpb=a464b9b97d0675417c8e344fb7e3d46056128192;p=lyx.git diff --git a/src/tabular.h b/src/tabular.h index 4910024086..810037f985 100644 --- a/src/tabular.h +++ b/src/tabular.h @@ -4,7 +4,7 @@ * * LyX, The Document Processor * - * Copyright 2000 The LyX Team. + * Copyright 2000-2001 The LyX Team. * * @author: Jürgen Vigna * @@ -163,7 +163,7 @@ public: /// LyXTabular & operator=(LyXTabular const &); /// - LyXTabular * Clone(InsetTabular *); + LyXTabular * clone(InsetTabular *); /// Returns true if there is a topline, returns false if not bool TopLine(int cell, bool onlycolumn = false) const; @@ -182,8 +182,7 @@ public: bool IsLastRow(int cell) const; /// - int GetAdditionalHeight(int cell) const; - + int GetAdditionalHeight(int row) const; /// int GetAdditionalWidth(int cell) const; @@ -372,6 +371,8 @@ public: void Validate(LaTeXFeatures &) const; /// std::vector const getLabelList() const; + /// + mutable int cur_cell; private: /// struct cellstruct { @@ -493,7 +494,7 @@ private: InsetTabular * owner_; /// - void Init(int columns_arg, int rows_arg); + void Init(int columns_arg, int rows_arg, LyXTabular const * lt = 0); /// void Reinit(); ///