]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.h
Further to r26743, add CustomPars and ForcePlain layout tags to InsetLayout,
[lyx.git] / src / OutputParams.h
index ae2e13d962e140d41b6909d9f1c8cf7497d215bb..f0816d6e4eafc9dab5907458a5b31eecaa48d63a 100644 (file)
@@ -35,6 +35,12 @@ public:
                XML
        };
 
+       enum TableCell {
+               NO,
+               PLAIN,
+               ALIGNED
+       };
+
        OutputParams(Encoding const *);
        ~OutputParams();
 
@@ -125,6 +131,11 @@ 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 an inset that is logically deleted.
         *  A value > 0 indicates a deleted inset.
          */
@@ -146,6 +157,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
         */