]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSubstack.h
Move <algorithm> from DocIterator.h
[lyx.git] / src / mathed / InsetMathSubstack.h
index e42a4aaa7ef7e328395637ddf0c705b2eb4a3180..f5be05ff0302d046ec6e5e79bdfec41d548b4fe6 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.
  */
@@ -23,29 +23,36 @@ namespace lyx {
 class InsetMathSubstack : public InsetMathGrid {
 public:
        ///
-       InsetMathSubstack();
+       explicit InsetMathSubstack(Buffer * buf);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
+       void draw(PainterInfo & pi, int x, int y) const override;
        ///
-       InsetMathSubstack const * asSubstackInset() const { return this; }
+       InsetMathSubstack const * asSubstackInset() const override { return this; }
 
        ///
        bool getStatus(Cursor & cur, FuncRequest const & cmd,
-               FuncStatus & flag) const;
+               FuncStatus & flag) const override;
        ///
-       void infoize(odocstream & os) const;
+       void infoize(odocstream & os) const override;
        ///
-       void write(WriteStream & os) const;
+       void write(WriteStream & os) const override;
        ///
-       void normalize(NormalStream &) const;
+       void mathmlize(MathStream &) const override;
        ///
-       void maple(MapleStream &) const;
+       void htmlize(HtmlStream &) const override;
        ///
-       void validate(LaTeXFeatures & features) const;
+       void normalize(NormalStream &) const override;
+       ///
+       void maple(MapleStream &) const override;
+       ///
+       void validate(LaTeXFeatures &) const override;
+       ///
+       InsetCode lyxCode() const override { return MATH_SUBSTACK_CODE; }
+
 private:
-       virtual Inset * clone() const;
+       Inset * clone() const override;
 };