X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSize.h;h=7073f5da15b3ba40515a26093f477a3cf9a47c49;hb=a4d9315bc49445e4419b3b59fd238a13c5f7be31;hp=714ae97fb95b710e24b4b313dd970a013be0d0c9;hpb=ff4460603e3888948b46f0ab5bfa69a862d538ad;p=lyx.git diff --git a/src/mathed/InsetMathSize.h b/src/mathed/InsetMathSize.h index 714ae97fb9..7073f5da15 100644 --- a/src/mathed/InsetMathSize.h +++ b/src/mathed/InsetMathSize.h @@ -12,14 +12,15 @@ #ifndef MATHSIZEINSET_H #define MATHSIZEINSET_H +#include "FontEnums.h" #include "InsetMathNest.h" -#include "MetricsInfo.h" namespace lyx { class latexkeys; +class MetricsInfo; /// An inset for \scriptsize etc. class InsetMathSize : public InsetMathNest { @@ -27,27 +28,33 @@ public: /// explicit InsetMathSize(Buffer * buf, latexkeys const * l); /// we write extra braces in any case... - bool extraBraces() const { return true; } + bool extraBraces() const override { return true; } /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const override; /// - void draw(PainterInfo &, int x, int y) const; + void draw(PainterInfo &, int x, int y) const override; /// - void write(WriteStream & os) const; + void write(TeXMathStream & os) const override; /// - void normalize(NormalStream &) const; + void normalize(NormalStream &) const override; /// - void infoize(odocstream & os) const; + void infoize(odocstream & os) const override; /// - InsetCode lyxCode() const { return MATH_SIZE_CODE; } + void mathmlize(MathMLStream &) const override; + /// + void htmlize(HtmlStream &) const override; + /// + void validate(LaTeXFeatures &) const override; + /// + InsetCode lyxCode() const override { return MATH_SIZE_CODE; } private: - virtual Inset * clone() const; + Inset * clone() const override; /// latexkeys const * key_; /// - Styles const style_; + MathStyle const style_; };