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
15 * Full author contact details are available in file CREDITS
18 class MathStringInset : public MathDimInset {
21 explicit MathStringInset(string const & s);
23 MathInset * clone() const;
25 void metrics(MathMetricsInfo & mi) const;
27 void draw(MathPainterInfo & pi, int x, int y) const;
29 string str() const { return str_; }
31 MathStringInset * asStringInset() { return this; }
34 void normalize(NormalStream &) const;
36 void octavize(OctaveStream &) const;
38 void maplize(MapleStream &) const;
40 void mathematicize(MathematicaStream &) const;
42 void mathmlize(MathMLStream &) const;
44 void write(WriteStream & os) const;