]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.h
use stream-like syntax for LaTeX output
[lyx.git] / src / mathed / math_spaceinset.h
index b8afcb568bcd19d84f54ab8f08d7cda465d151ee..fddaed61301a878f467044814133039182d4ac1b 100644 (file)
@@ -19,13 +19,15 @@ public:
        ///
        void draw(Painter &, int x, int y) const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       void write(MathWriteInfo & os) const;
        ///
        void writeNormal(std::ostream &) const;
        ///
-       void metrics(MathStyles st) const;
+       void metrics(MathMetricsInfo const & st) const;
        ///
-       bool isSpaceInset() const { return true; }
+       MathSpaceInset const * asSpaceInset() const { return this; }
+       ///
+       MathSpaceInset * asSpaceInset() { return this; }
        ///
        void incSpace();
 private: