]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.h
Get rid of unused SessionInfoSection.
[lyx.git] / src / OutputParams.h
index f873134c9dee0707e8483f303016bfa60cba399a..f0816d6e4eafc9dab5907458a5b31eecaa48d63a 100644 (file)
@@ -35,6 +35,12 @@ public:
                XML
        };
 
+       enum TableCell {
+               NO,
+               PLAIN,
+               ALIGNED
+       };
+
        OutputParams(Encoding const *);
        ~OutputParams();
 
@@ -125,8 +131,10 @@ public:
         */
        bool inComment;
 
-       /// Whether we are in a table cell
-       bool inTableCell;
+       /** 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.
@@ -149,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
         */