]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.h
Fix reading of math macros
[lyx.git] / src / mathed / math_spaceinset.h
index 74c86d88482e226766cdff96f0a0f9ea2c15e42a..ab3011bbb088284ed860df70a575027178fae957 100644 (file)
@@ -3,7 +3,6 @@
 #define MATH_SPACEINSET_H
 
 #include "math_diminset.h"
-#include "math_defs.h"
 
 #ifdef __GNUG__
 #pragma interface
@@ -15,6 +14,8 @@ public:
        ///
        explicit MathSpaceInset(int sp);
        ///
+       explicit MathSpaceInset(string const & name);
+       ///
        MathInset * clone() const;
        ///
        MathSpaceInset const * asSpaceInset() const { return this; }
@@ -23,15 +24,19 @@ public:
        ///
        void incSpace();
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MathMetricsInfo & mi) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void draw(MathPainterInfo & pi, int x, int y) const;
 
        ///
        void normalize(NormalStream &) const;
        ///
+       void validate(LaTeXFeatures & features) const;
+       ///
        void maplize(MapleStream &) const;
        ///
+       void mathematicize(MathematicaStream &) const;
+       ///
        void octavize(OctaveStream &) const;
        ///
        void write(WriteStream & os) const;