]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.h
Fix working of the spellchecker dialog with ispell when there are no
[lyx.git] / src / tabular.h
index a04e70714ab1ecbcacfcec891b7040ba91d2affc..810037f9853463ca52404082cadbc2aa62b7fb96 100644 (file)
@@ -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;
@@ -180,9 +180,9 @@ public:
        bool LeftAlreadyDrawed(int cell) const;
        ///
        bool IsLastRow(int cell) const;
-       
+
        ///
-       int GetAdditionalHeight(int cell) const;
+       int GetAdditionalHeight(int row) const;
        ///
        int GetAdditionalWidth(int cell) const;
        
@@ -371,6 +371,8 @@ public:
        void Validate(LaTeXFeatures &) const;
        ///
        std::vector<string> const getLabelList() const;
+       ///
+       mutable int cur_cell;
 private:
        ///
        struct cellstruct {
@@ -490,9 +492,9 @@ private:
        int endlastfoot;
        ///
        InsetTabular * owner_;
-   
+
        ///
-       void Init(int columns_arg, int rows_arg);
+       void Init(int columns_arg, int rows_arg, LyXTabular const * lt = 0);
        ///
        void Reinit();
        ///