]> git.lyx.org Git - lyx.git/blobdiff - src/latexrunparams.h
the spellcheck cleanup
[lyx.git] / src / latexrunparams.h
index 39c46ace1d36255f2cbf716e5b565f885da17214..c310819fcbaab7a5fd30738253e46b573a902cf2 100644 (file)
@@ -6,7 +6,7 @@
  *
  *  \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef LatexRunParams_H
@@ -19,8 +19,9 @@ struct LatexRunParams {
         };
 
         LatexRunParams() : flavor(LATEX), nice(false),
-                          fragile(false), free_spacing(false),
-                          use_babel(false) {}
+                          moving_arg(false), free_spacing(false),
+                          use_babel(false), mixed_content(false),
+                          linelen(0) {}
 
        /** The latex that we export depends occasionally on what is to
            compile the file.
@@ -34,19 +35,30 @@ struct LatexRunParams {
        */
        bool nice;
 
-       /** fragile == true means that the inset should take care about
+       /** 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.
        */
-       bool fragile;
+       bool moving_arg;
 
        /** free_spacing == true means that the inset is in a free-spacing
            paragraph.
        */
        bool free_spacing;
-       
+
        /** This var is set by the return value from BufferParams::writeLaTeX
         */
        bool use_babel;
+
+       /** Used for docbook to see if inside a region of mixed content.
+           In that case all the white spaces are significant and can not appear
+           at the begin or end.
+        */
+       bool mixed_content;
+
+       /** Line lenght to use with ascii export.
+        */
+       int linelen;
 };
 
 #endif // LATEXRUNPARAMS_H