2 #ifndef MATH_STRINGINSET_H
3 #define MATH_STRINGINSET_H
5 #include "math_inset.h"
11 /** Some cllection of chars with similar properties
15 class MathStringInset : public MathInset {
18 MathStringInset(string const & s, MathTextCodes t = LM_TC_TEXTRM);
20 MathInset * clone() const;
22 void metrics(MathMetricsInfo const & st) const;
24 void draw(Painter &, int x, int y) const;
32 string str() const { return str_; }
34 MathStringInset * asStringInset() { return this; }
37 void normalize(NormalStream &) const;
39 void octavize(OctaveStream &) const;
41 void maplize(MapleStream &) const;
43 void mathmlize(MathMLStream &) const;
45 void write(WriteStream & os) const;
50 /// the font to be used on screen
53 mutable MathMetricsInfo mi_;