]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.h
Move <algorithm> from DocIterator.h
[lyx.git] / src / mathed / InsetMathSize.h
index 714ae97fb95b710e24b4b313dd970a013be0d0c9..6d0f52f80aebf46bfaea7fccb56fbc7629ed936c 100644 (file)
@@ -27,27 +27,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(WriteStream & 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(MathStream &) 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_;
 };