]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.h
Move <algorithm> from DocIterator.h
[lyx.git] / src / mathed / InsetMathSize.h
index d71c3b235651e4762063576327c9c68f85563015..6d0f52f80aebf46bfaea7fccb56fbc7629ed936c 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -25,26 +25,35 @@ class latexkeys;
 class InsetMathSize : public InsetMathNest {
 public:
        ///
-       explicit InsetMathSize(latexkeys const * l);
+       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; }
        ///
-       bool 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;
+       ///
+       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 std::auto_ptr<InsetBase> doClone() const;
+       Inset * clone() const override;
        ///
        latexkeys const * key_;
        ///
-       Styles const style_;
+       MathStyle const style_;
 };