]> git.lyx.org Git - lyx.git/blobdiff - src/outputparams.h
fix two crashes related to dEPM. Some crashes remain
[lyx.git] / src / outputparams.h
index b03dad6009217ca9919c11a64eb3caa977d255ec..c5307ff75eff4374f75af6ba8badc5c9368a939f 100644 (file)
 
 
 class ExportData;
+class LyXFont;
 
 
-struct OutputParams {
+class OutputParams {
+public:
        //
        enum FLAVOR {
                LATEX,
@@ -46,19 +48,19 @@ struct OutputParams {
 
        /** moving_arg == true means that the environment in which the inset
            is typeset is a moving argument. The inset should take care about
-           fragile commands by preceding the latex with \protect.
+           fragile commands by preceding the latex with \\protect.
        */
        bool moving_arg;
 
        /** intitle == true means that the environment in which the
-           inset is typeset is part of a title (before a \maketitle).
+           inset is typeset is part of a title (before a \\maketitle).
            Footnotes in such environments have moving arguments.
        */
        bool intitle;
 
-       /** the babel name of the language at the point where the inset is
+       /** the font at the point where the inset is
         */
-       std::string local_language;
+       LyXFont const * local_font;
 
        /** Document language babel name
         */