X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathXArrow.h;h=3e5c4846a95889e68149ed14b671f9bb99705469;hb=a11780b59fcb6cdd16b15f9fa4de45d7ddfd1b2a;hp=d21dd422224422e14ab9e78c7126ed32a05b7afe;hpb=0facb603fefec1ecc927f77bcf6228ca1f035444;p=features.git diff --git a/src/mathed/InsetMathXArrow.h b/src/mathed/InsetMathXArrow.h index d21dd42222..3e5c4846a9 100644 --- a/src/mathed/InsetMathXArrow.h +++ b/src/mathed/InsetMathXArrow.h @@ -22,22 +22,28 @@ namespace lyx { class InsetMathXArrow : public InsetMathFracBase { public: /// - explicit InsetMathXArrow(docstring const & name); + explicit InsetMathXArrow(Buffer * buf, docstring const & name); /// - void draw(PainterInfo & pi, int x, int y) const; + void draw(PainterInfo & pi, int x, int y) const override; /// - void write(WriteStream & os) const; + void write(TeXMathStream & os) const override; /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const override; /// - void normalize(NormalStream & os) const; + void normalize(NormalStream & os) const override; /// - void validate(LaTeXFeatures & features) const; + void mathmlize(MathMLStream &) const override; /// - InsetCode lyxCode() const { return MATH_XARROW_CODE; } + void htmlize(HtmlStream &) const override; + /// + void validate(LaTeXFeatures & features) const override; + /// + InsetCode lyxCode() const override { return MATH_XARROW_CODE; } + /// + MathClass mathClass() const override { return MC_REL; } private: - virtual Inset * clone() const; + Inset * clone() const override; /// bool upper() const; ///