/// Inset for overset
class InsetMathOverset : public InsetMathFracBase {
public:
+ ///
+ InsetMathOverset(Buffer * buf) : InsetMathFracBase(buf) {}
///
void metrics(MetricsInfo & mi, Dimension & dim) const;
///
void draw(PainterInfo & pi, int x, int y) const;
///
- bool idxFirst(Cursor &) const;
- ///
- bool idxLast(Cursor &) const;
+ bool idxUpDown(Cursor & cur, bool up) const;
///
void write(WriteStream & os) const;
///
void normalize(NormalStream &) const;
///
+ void mathmlize(MathStream &) const;
+ ///
+ void htmlize(HtmlStream &) const;
+ ///
void validate(LaTeXFeatures & features) const;
+ ///
+ InsetCode lyxCode() const { return MATH_OVERSET_CODE; }
+
private:
virtual Inset * clone() const;
};