]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.h
Paragraph::inInset() shall not be used if the owner inset was not initialized. Make...
[lyx.git] / src / OutputParams.h
index ae2e13d962e140d41b6909d9f1c8cf7497d215bb..df29806ee9fe44ee41777dfdd276e14fbc7c7bde 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.
          */