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;
- ///
+ ///
int ascent() const;
///
int descent() const;
string str() const { return str_; }
///
MathStringInset * asStringInset() { return this; }
+ /// request "external features"
+ void validate(LaTeXFeatures & features) const;
///
void normalize(NormalStream &) const;
///
void write(WriteStream & os) const;
-private:
+public:
/// the string
string str_;
/// the font to be used on screen
MathTextCodes code_;
///
- mutable MathMetricsInfo mi_;
+ mutable LyXFont font_;
};
#endif