///
explicit InsetMathFont(Buffer * buf, latexkeys const * key);
///
- InsetMathFont * asFontInset() { return this; }
+ InsetMathFont * asFontInset() override { return this; }
///
- InsetMathFont const * asFontInset() const { return this; }
+ InsetMathFont const * asFontInset() const override { return this; }
/// are we in math mode, text mode, or unsure?
- mode_type currentMode() const;
+ mode_type currentMode() const override;
/// do we allow changing mode during latex export?
- bool lockedMode() const;
+ bool lockedMode() const override;
///
- docstring name() const;
+ void write(TeXMathStream & os) const override;
///
- void metrics(MetricsInfo & mi, Dimension & dim) const;
+ docstring name() const override;
///
- void draw(PainterInfo & pi, int x, int y) const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const override;
///
- void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
+ void draw(PainterInfo & pi, int x, int y) const override;
///
- void drawT(TextPainter & pi, int x, int y) const;
+ void metricsT(TextMetricsInfo const & mi, Dimension & dim) const override;
///
- void validate(LaTeXFeatures & features) const;
+ void drawT(TextPainter & pi, int x, int y) const override;
///
- void mathmlize(MathStream &) const;
+ void validate(LaTeXFeatures & features) const override;
///
- void htmlize(HtmlStream &) const;
+ void mathmlize(MathMLStream &) const override;
///
- void infoize(odocstream & os) const;
+ void htmlize(HtmlStream &) const override;
///
- int kerning(BufferView const * bv) const { return cell(0).kerning(bv); }
+ void infoize(odocstream & os) const override;
///
- InsetCode lyxCode() const { return MATH_FONT_CODE; }
+ int kerning(BufferView const * bv) const override { return cell(0).kerning(bv); }
+ ///
+ InsetCode lyxCode() const override { return MATH_FONT_CODE; }
private:
std::string font() const;
///
- virtual Inset * clone() const;
+ Inset * clone() const override;
/// the font to be used on screen
latexkeys const * key_;
};