]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fracinset.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_fracinset.h
index 5db6f340c7053842a19fe694245be9679db00be6..386a95eda72dc5993725b5903e50cea769c0b7a3 100644 (file)
@@ -18,17 +18,21 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void write(std::ostream &, bool fragile) const;
-       ///
-       void writeNormal(std::ostream &) const;
-       ///
-       void metrics(MathStyles st) const;
+       void metrics(MathMetricsInfo const & st) const;
        ///
        void draw(Painter &, int x, int y) const;
-public:
        ///
-       char const name() const;
+       MathFracInset * asFracInset();
 
+       ///
+       void write(WriteStream & os) const;
+       ///
+       void normalize(NormalStream &) const;
+       ///
+       void maplize(MapleStream &) const;
+       ///
+       void mathmlize(MathMLStream &) const;
+public:
        ///
        const bool atop_;
 };