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 {
20 MathStringInset(string const & s, MathTextCodes t = LM_TC_TEXTRM);
22 MathInset * clone() const;
24 void metrics(MathMetricsInfo const & st) const;
26 void draw(Painter &, int x, int y) const;
34 string str() const { return str_; }
36 MathStringInset * asStringInset() { return this; }
37 /// request "external features"
38 void validate(LaTeXFeatures & features) const;
41 void normalize(NormalStream &) const;
43 void octavize(OctaveStream &) const;
45 void maplize(MapleStream &) const;
47 void mathmlize(MathMLStream &) const;
49 void write(WriteStream & os) const;
54 /// the font to be used on screen
57 mutable MathMetricsInfo mi_;