]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathHull.h
Allow automatic text direction in Painter::text()
[lyx.git] / src / mathed / InsetMathHull.h
index 55275371fd796dc7f4cb33fe007ad4fd03bf48bc..3b447c38bd918655295a2148fcdafc28767e2ea4 100644 (file)
@@ -23,6 +23,7 @@
 namespace lyx {
 
 class InsetLabel;
+class MacroNameSet;
 class ParConstIterator;
 class RenderPreview;
 
@@ -50,7 +51,8 @@ public:
        ///
        void updateBuffer(ParIterator const &, UpdateType);
        ///
-       void addToToc(DocIterator const & di, bool output_active) const;
+       void addToToc(DocIterator const & di, bool output_active,
+                                 UpdateType utype) const;
        ///
        InsetMathHull & operator=(InsetMathHull const &);
        ///
@@ -150,7 +152,7 @@ public:
        /// 
        void toString(odocstream &) const;
        ///
-       void forOutliner(docstring &, size_t) const;
+       void forOutliner(docstring &, size_t const, bool const) const;
 
        /// get notification when the cursor leaves this inset
        bool notifyCursorLeaves(Cursor const & old, Cursor & cur);
@@ -162,6 +164,9 @@ public:
        /// Recreates the preview if preview is enabled.
        void reloadPreview(DocIterator const & pos) const;
        ///
+       void usedMacros(MathData const & md, DocIterator const & pos,
+                       MacroNameSet & macros, MacroNameSet & defs) const;
+       ///
        void initUnicodeMath() const;
 
        ///
@@ -231,6 +236,8 @@ private:
        ColorCode standardColor() const;
        /// consistency check
        void check() const;
+       /// does it understand tabular-feature commands?
+       bool isTable() const;
        /// can this change its number of rows?
        bool rowChangeOK() const;
        /// can this change its number of cols?
@@ -249,8 +256,6 @@ private:
        ///
        boost::scoped_ptr<RenderPreview> preview_;
        ///
-       mutable bool use_preview_;
-       ///
        DocIterator docit_;
        ///
        typedef std::map<docstring, int> CounterMap;