]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.h
small up/down tweaking
[lyx.git] / src / mathed / math_spaceinset.h
index fddaed61301a878f467044814133039182d4ac1b..ab3011bbb088284ed860df70a575027178fae957 100644 (file)
@@ -3,7 +3,6 @@
 #define MATH_SPACEINSET_H
 
 #include "math_diminset.h"
-#include "math_defs.h"
 
 #ifdef __GNUG__
 #pragma interface
@@ -15,21 +14,32 @@ public:
        ///
        explicit MathSpaceInset(int sp);
        ///
+       explicit MathSpaceInset(string const & name);
+       ///
        MathInset * clone() const;
        ///
-       void draw(Painter &, int x, int y) const;
+       MathSpaceInset const * asSpaceInset() const { return this; }
        ///
-       void write(MathWriteInfo & os) const;
+       MathSpaceInset * asSpaceInset() { return this; }
        ///
-       void writeNormal(std::ostream &) const;
+       void incSpace();
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MathMetricsInfo & mi) const;
        ///
-       MathSpaceInset const * asSpaceInset() const { return this; }
+       void draw(MathPainterInfo & pi, int x, int y) const;
+
        ///
-       MathSpaceInset * asSpaceInset() { return this; }
+       void normalize(NormalStream &) const;
        ///
-       void incSpace();
+       void validate(LaTeXFeatures & features) const;
+       ///
+       void maplize(MapleStream &) const;
+       ///
+       void mathematicize(MathematicaStream &) const;
+       ///
+       void octavize(OctaveStream &) const;
+       ///
+       void write(WriteStream & os) const;
 private:
        ///
        int space_;