]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_funcinset.h
enable direct input of #1...#9; some whitespace changes
[lyx.git] / src / mathed / math_funcinset.h
index ad6a9791ff3e0080824ad028cb28fdbde6c6aed0..98786403d30e4c979a8824f054d571c08bccd68a 100644 (file)
@@ -19,19 +19,32 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void metrics(MathStyles st) const;
+       void metrics(MathMetricsInfo const & st) const;
        ///
        void draw(Painter &, int x, int y) const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       string const & name() const;
+       /// identifies FuncInsets
+       MathFuncInset * asFuncInset() { return this; }
        ///
-       void writeNormal(std::ostream &) const;
+       void setName(string const &);
        ///
-       string const & name() const;
+       bool match(MathInset * p) const;
+
+       ///
+       void normalize(NormalStream &) const;
        ///
-       void setName(string const & n);
+       void maplize(MapleStream &) const;
+       ///
+       void mathmlize(MathMLStream &) const;
+       ///
+       void octavize(OctaveStream &) const;
+       ///
+       void write(WriteStream &) const;
 private:
        ///
        string name_;
+       ///
+       mutable MathMetricsInfo mi_;
 };
 #endif