X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathBoldSymbol.h;h=4c47245df54955b3b381c7bef1fa0bd9209d2194;hb=d9082639080b9de993742bd352f92e5183058cf5;hp=d91de3816a0918b484c427a251af6ce40db78d83;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/mathed/InsetMathBoldSymbol.h b/src/mathed/InsetMathBoldSymbol.h index d91de3816a..4c47245df5 100644 --- a/src/mathed/InsetMathBoldSymbol.h +++ b/src/mathed/InsetMathBoldSymbol.h @@ -17,7 +17,6 @@ namespace lyx { - /// Inset for AMSTeX's \boldsymbol class InsetMathBoldSymbol : public InsetMathNest { public: @@ -27,27 +26,33 @@ public: BM_HEAVY }; /// - InsetMathBoldSymbol(Kind kind = AMS_BOLD); + InsetMathBoldSymbol(Buffer * buf, Kind kind = AMS_BOLD); + /// + docstring name() const override; + /// + void metrics(MetricsInfo & mi, Dimension & dim) const override; + /// + void draw(PainterInfo & pi, int x, int y) const override; /// - docstring name() const; + void metricsT(TextMetricsInfo const & mi, Dimension & dim) const override; /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + void drawT(TextPainter & pi, int x, int y) const override; /// - void draw(PainterInfo & pi, int x, int y) const; + void validate(LaTeXFeatures & features) const override; /// - void metricsT(TextMetricsInfo const & mi, Dimension & dim) const; + void write(TeXMathStream & os) const override; /// - void drawT(TextPainter & pi, int x, int y) const; + void mathmlize(MathMLStream &) const override; /// - void validate(LaTeXFeatures & features) const; + void htmlize(HtmlStream &) const override; /// - void write(WriteStream & os) const; + void infoize(odocstream & os) const override; /// - void infoize(odocstream & os) const; + InsetCode lyxCode() const override { return MATH_BOLDSYMBOL_CODE; } /// Kind kind_; private: - virtual Inset * clone() const; + Inset * clone() const override; };