]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathHull.h
Small improvement for bug #7509 as suggested by JMarc
[lyx.git] / src / mathed / InsetMathHull.h
index 6635d8be997ea41aeca44a57dc7a4288958b1f41..8c0ed98265d36663420dfefc5edb8cf69fd245ed 100644 (file)
@@ -42,7 +42,7 @@ public:
        ///
        void updateBuffer(ParIterator const &, UpdateType);
        ///
-       void addToToc(DocIterator const &);
+       void addToToc(DocIterator const &) const;
        ///
        InsetMathHull & operator=(InsetMathHull const &);
        ///
@@ -130,6 +130,10 @@ public:
        docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///
        void mathmlize(MathStream &) const;
+       ///
+       void htmlize(HtmlStream &) const;
+       ///
+       void mathAsLatex(WriteStream &) const;
        /// 
        void toString(odocstream &) const;
        ///
@@ -218,6 +222,8 @@ private:
        bool rowChangeOK() const;
        /// can this change its number of cols?
        bool colChangeOK() const;
+       /// are any of the equations numbered?
+       bool haveNumbers() const;
 
        /// "none", "simple", "display", "eqnarray",...
        HullType type_;
@@ -233,6 +239,10 @@ private:
        mutable bool use_preview_;
        ///
        DocIterator docit_;
+       ///
+       typedef std::map<docstring, int> CounterMap;
+       /// used to store current values of important counters
+       CounterMap counter_map;
 //
 // Incorporate me
 //