]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.h
fix "make check" with gcc 4.3
[lyx.git] / src / OutputParams.h
index ae2e13d962e140d41b6909d9f1c8cf7497d215bb..00a1e11030e896b973a35a4ddc372b82a91f0fdd 100644 (file)
@@ -35,6 +35,18 @@ public:
                XML
        };
 
+       enum TableCell {
+               NO,
+               PLAIN,
+               ALIGNED
+       };
+
+       enum Float {
+               NONFLOAT,
+               MAINFLOAT,
+               SUBFLOAT
+       };
+
        OutputParams(Encoding const *);
        ~OutputParams();
 
@@ -125,6 +137,16 @@ public:
         */
        bool inComment;
 
+       /** Whether we are in a table cell.
+        *  For newline, it matters whether its content is aligned or not.
+         */
+       TableCell inTableCell;
+
+       /** Whether we are inside a float or subfloat.
+        *  Needed for subfloat detection on the command line.
+        */
+       Float inFloat;
+
        /** Whether we are inside an inset that is logically deleted.
         *  A value > 0 indicates a deleted inset.
          */
@@ -146,6 +168,9 @@ public:
         */
        pit_type par_end;
 
+       /// is this the last paragraph in the current buffer/inset?
+       bool isLastPar;
+
        /** whether or not do actual file copying and image conversion
         *  This mode will be used to preview the source code
         */