]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.h
rename LyXLex into Lexer
[lyx.git] / src / mathed / MathMacroTemplate.h
index c319ae5a8e13769e96f87efff4d1af57cd5e5d44..dc0b278e72ea3feb0d923ea4b9ca434cbb7b3be8 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef MATH_MACROTEMPLATE_H
 #define MATH_MACROTEMPLATE_H
 
-#include "MathData.h"
+#include "MathArray.h"
 #include "MathMacroTable.h"
 #include "InsetMathNest.h"
 
@@ -39,11 +39,15 @@ public:
        ///
        EDITABLE editable() const { return HIGHLY_EDITABLE; }
        ///
-       void read(Buffer const &, LyXLex & lex);
+       void read(Buffer const &, Lexer & lex);
        ///
        void write(Buffer const &, std::ostream & os) const;
        ///
        void write(WriteStream & os) const;
+       ///
+       int plaintext(Buffer const &, odocstream &,
+                     OutputParams const &) const;
+
        /// Number of arguments
        int numargs() const;
        ///
@@ -55,7 +59,7 @@ public:
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        /// identifies macro templates
        MathMacroTemplate * asMacroTemplate() { return this; }
        /// identifies macro templates