2 #ifndef MATH_STRINGINSET_H
3 #define MATH_STRINGINSET_H
5 #include "math_diminset.h"
11 /** Some collection of chars with similar properties
12 * maily for math-extern
13 * \author André Pönitz
16 class MathStringInset : public MathDimInset {
19 explicit MathStringInset(string const & s);
21 MathInset * clone() const;
23 void metrics(MathMetricsInfo & st) const;
25 void draw(MathPainterInfo &, int x, int y) const;
27 string str() const { return str_; }
29 MathStringInset * asStringInset() { return this; }
32 void normalize(NormalStream &) const;
34 void octavize(OctaveStream &) const;
36 void maplize(MapleStream &) const;
38 void mathmlize(MathMLStream &) const;
40 void write(WriteStream & os) const;