]> git.lyx.org Git - features.git/blobdiff - src/BufferParams.h
#10285 and #10542 - Add sips as a fallback converter for Mac to provide preview of...
[features.git] / src / BufferParams.h
index 437d00b700d23cdfc2954b6a7062bc6cc6d36bd9..51029478e4ab372aa4c16517f74051faa00c4e24 100644 (file)
@@ -39,7 +39,6 @@ class Bullet;
 class DocumentClass;
 class Encoding;
 class Font;
-class HSpace;
 class IndicesList;
 class Language;
 class LayoutFile;
@@ -102,11 +101,22 @@ public:
        ///
        void setDefSkip(VSpace const & vs);
 
+       ///
+       Length const & getMathIndent() const;
+       ///
+       void setMathIndent(Length const & indent);
+
        /// Whether formulas are indented
        bool is_math_indent;
 
-       /// the indentation of formulas
-       std::string math_indentation;
+
+       enum  MathNumber { DEFAULT, LEFT, RIGHT };
+       /// number formulas on left/right/default
+       MathNumber math_number;
+
+       /// Convenience function for display: like math_number, but
+       /// DEFAULT is replaced by the best guess we have.
+       MathNumber getMathNumber() const;
 
        /** Whether paragraphs are separated by using a indent like in
         *  articles or by using a little skip like in letters.