]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.h
Update cursor idx after grid paste if columns are appended
[lyx.git] / src / OutputParams.h
index 201d0915a92e951205cd2a987ed2936b137ed2fc..46495fe66ecf5950717c2da9b771153b3a4e3279 100644 (file)
@@ -60,6 +60,14 @@ public:
                SUBFLOAT
        };
 
+       enum CtObject {
+               CT_NORMAL,
+               CT_OBJECT,
+               CT_DISPLAYOBJECT,
+               CT_UDISPLAYOBJECT,
+               CT_OMITOBJECT
+       };
+
        OutputParams(Encoding const *);
        ~OutputParams();
 
@@ -78,7 +86,7 @@ public:
        MathFlavor math_flavor;
 
        /** Are we to write a 'nice' LaTeX file or not.
-           This esentially seems to mean whether InsetInclude, InsetGraphics
+           This essentially seems to mean whether InsetInclude, InsetGraphics
            and InsetExternal should add the absolute path to any external
            files or not.
            Non-nice LaTeX also includes additional safe line breaks in order to
@@ -121,7 +129,7 @@ public:
         */
        Font const * local_font;
 
-       /** Document language babel name
+       /** Document language lyx name
         */
        std::string document_language;
 
@@ -169,6 +177,10 @@ public:
        */
        bool use_polyglossia;
 
+       /** Do we use hyperref?
+       */
+       bool use_hyperref;
+
        /// Do we use the CJK package?
        bool use_CJK;
 
@@ -201,13 +213,13 @@ public:
         */
        int depth;
 
-       /** Export data filled in by the latex(), docbook() etc methods.
+       /** Export data filled in by the latex(), docbook(), etc. methods.
            This is a hack: Make it possible to add stuff to constant
            OutputParams instances.
        */
        std::shared_ptr<ExportData> exportdata;
 
-       /** Store labels, index entries (etc.) (in \ref post_macro)
+       /** Store labels, index entries, etc. (in \ref post_macro)
         *  and output them later. This is used in particular to get
         *  labels and index entries (and potentially other fragile commands)
         *  outside of moving arguments (bug 2154)
@@ -269,14 +281,19 @@ public:
 
        /** Whether we are inside an inset that is logically deleted.
         *  A value > 0 indicates a deleted inset.
-         */
+       */
        int inDeletedInset;
 
        /** The change information of the outermost logically deleted inset.
         *  changeOfDeletedInset shall only be evaluated if inDeletedInset > 0.
-         */
+       */
        Change changeOfDeletedInset;
 
+       /** What kind of change tracking object is this?
+        * Relevant for strikeout method in output
+        */
+       mutable CtObject ctObject;
+
        /** allow output of only part of the top-level paragraphs
         *  par_begin: beginning paragraph
         */