]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.h
Get rid of Inset::setPosCache
[lyx.git] / src / mathed / MathMacroTemplate.h
index 0bb3d4db0be430b2be23042a2a58ccd205a7e09f..b0c301897761a0caeb9124c91270386b960875a9 100644 (file)
@@ -34,8 +34,8 @@ public:
                std::vector<MathData> const & optionalValues = std::vector<MathData>(),
                MathData const & def = MathData(),
                MathData const & display = MathData());
-       ///
-       MathMacroTemplate(Buffer * buf, const docstring & str);
+       /// parses from string, returns false if failed
+       bool fromString (const docstring & str);
        ///
        bool editable() const { return true; }
        ///
@@ -103,6 +103,9 @@ public:
        void infoize(odocstream & os) const;
        ///
        std::string contextMenuName() const;
+       ///
+       void addToToc(DocIterator const & di, bool output_active,
+                                 UpdateType utype) const;
 protected:
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);