]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathHull.h
Fix misparsing of alternative simple formulas
[lyx.git] / src / mathed / InsetMathHull.h
index 8c0ed98265d36663420dfefc5edb8cf69fd245ed..af00eaf04e9ac9cb5ca55ca601995c5af6b95b89 100644 (file)
@@ -14,7 +14,6 @@
 
 #include "InsetMathGrid.h"
 
-#include "Color.h"
 #include "DocIterator.h"
 #include "OutputEnums.h"
 
@@ -42,7 +41,7 @@ public:
        ///
        void updateBuffer(ParIterator const &, UpdateType);
        ///
-       void addToToc(DocIterator const &) const;
+       void addToToc(DocIterator const & di, bool output_active) const;
        ///
        InsetMathHull & operator=(InsetMathHull const &);
        ///
@@ -101,6 +100,9 @@ public:
        ///
        char defaultColAlign(col_type col);
        ///
+       ///
+       char displayColAlign(col_type col, row_type row) const;
+       ///
        bool idxFirst(Cursor &) const;
        ///
        bool idxLast(Cursor &) const;
@@ -123,7 +125,8 @@ public:
        ///
        bool readQuiet(Lexer & lex);
        ///
-       int plaintext(odocstream &, OutputParams const &) const;
+       int plaintext(odocstringstream &, OutputParams const &, 
+                     size_t max_length = INT_MAX) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
@@ -160,7 +163,7 @@ public:
        void recordLocation(DocIterator const & di);
 
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        ///
        InsetCode lyxCode() const { return MATH_HULL_CODE; }