]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.h
Small fix.
[lyx.git] / src / tabular.h
index 0483d1f55b74209e7b3ee03835bc7814269698b0..e4dab2652dcd9e8ca297331f74cea072be0af5a0 100644 (file)
@@ -68,14 +68,15 @@ public:
        UNSET_ROTATE_TABULAR,
        SET_ROTATE_CELL,
        UNSET_ROTATE_CELL,
-       SET_LINEBREAKS,
+       SET_USEBOX,
        SET_LTHEAD,
        SET_LTFIRSTHEAD,
        SET_LTFOOT,
        SET_LTLASTFOOT,
        SET_LTNEWPAGE,
        SET_SPECIAL_COLUMN,
-       SET_SPECIAL_MULTI
+       SET_SPECIAL_MULTI,
+       LAST_ACTION
     };
 
     enum {
@@ -269,9 +270,9 @@ public:
     ///
     int GetCellNumber(int row, int column) const;
     ///
-    void SetLinebreaks(int cell, bool what);
+    void SetUsebox(int cell, int what);
     ///
-    bool GetLinebreaks(int cell) const;
+    int GetUsebox(int cell) const;
     ///
     /// Long Tabular Options
     ///
@@ -333,7 +334,11 @@ private: //////////////////////////////////////////////////////////////////
        ///
        bool right_line;
        ///
-       bool linebreaks;
+       /// 0 ... don't use a box
+       /// 1 ... use a parbox
+       /// 2 ... use a minipage
+       ///
+       int usebox;
        ///
        int rotate;
        ///