]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.h
Revert "Fix a number of signedness warnings"
[lyx.git] / src / mathed / InsetMathBig.h
index 5e511db0f46d3e511b42cadfbef5864f3e972eb0..ed1c773b6b6e384955332e6c4558c9a2c0c82867 100644 (file)
@@ -14,8 +14,6 @@
 
 #include "InsetMath.h"
 
-#include <string>
-
 
 namespace lyx {
 
@@ -25,33 +23,37 @@ public:
        ///
        InsetMathBig(docstring const & name, docstring const & delim);
        ///
-       docstring name() const;
+       docstring name() const override;
+       /// class is different for l(eft), r(ight) and m(iddle)
+       MathClass mathClass() const override;
        ///
-       void 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;
        ///
-       void write(WriteStream & os) const;
+       void write(WriteStream & os) const override;
        ///
-       void normalize(NormalStream & os) const;
+       void normalize(NormalStream & os) const override;
        ///
-       void mathmlize(MathStream &) const;
+       void mathmlize(MathStream &) const override;
        ///
-       void htmlize(HtmlStream &) const;
+       void htmlize(HtmlStream &) const override;
        ///
-       void infoize2(odocstream & os) const;
+       void infoize2(odocstream & os) const override;
        ///
        static bool isBigInsetDelim(docstring const &);
        ///
-       InsetCode lyxCode() const { return MATH_BIG_CODE; }
+       InsetCode lyxCode() const override { return MATH_BIG_CODE; }
        ///
-       void validate(LaTeXFeatures &) const;
+       void validate(LaTeXFeatures &) const override;
 private:
-       virtual Inset * clone() const;
+       Inset * clone() const override;
        ///
        size_type size() const;
        ///
        double increase() const;
+       /// name with leading backslash stripped
+       docstring word() const;
 
        /// \\bigl or what?
        docstring const name_;