]> git.lyx.org Git - lyx.git/blobdiff - src/latexrunparams.h
the spellcheck cleanup
[lyx.git] / src / latexrunparams.h
index 890ada158ef6af11d25728be4b3dcd4799f8cd5f..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
@@ -20,7 +20,8 @@ struct LatexRunParams {
 
         LatexRunParams() : flavor(LATEX), nice(false),
                           moving_arg(false), free_spacing(false),
-                          use_babel(false) {}
+                          use_babel(false), mixed_content(false),
+                          linelen(0) {}
 
        /** The latex that we export depends occasionally on what is to
            compile the file.
@@ -44,10 +45,20 @@ struct LatexRunParams {
            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