class MathStringInset : public MathInset {
public:
///
- MathStringInset(string const & s, MathTextCodes t);
+ MathStringInset();
+ ///
+ MathStringInset(string const & s, MathTextCodes t = LM_TC_TEXTRM);
///
MathInset * clone() const;
///
void metrics(MathMetricsInfo const & st) const;
///
void draw(Painter &, int x, int y) const;
- ///
- void write(MathWriteInfo & os) const;
- ///
- void writeNormal(std::ostream &) const;
///
int ascent() const;
///
///
int width() const;
///
- string & str();
+ string str() const { return str_; }
+ ///
+ MathStringInset * asStringInset() { return this; }
+ /// request "external features"
+ void validate(LaTeXFeatures & features) const;
-private:
+ ///
+ void normalize(NormalStream &) const;
+ ///
+ void octavize(OctaveStream &) const;
+ ///
+ void maplize(MapleStream &) const;
+ ///
+ void mathmlize(MathMLStream &) const;
+ ///
+ void write(WriteStream & os) const;
+
+public:
/// the string
string str_;
/// the font to be used on screen