]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.h
typo
[lyx.git] / src / mathed / InsetMathBig.h
index e42582c53124d72a968c4bcb38af920d32362a77..09f04a6f78ebe63ea7b7eb18ed2fd53fd49f06d8 100644 (file)
@@ -23,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(TeXMathStream & os) const override;
        ///
-       void normalize(NormalStream & os) const;
+       void normalize(NormalStream & os) const override;
        ///
-       void mathmlize(MathStream &) const;
+       void mathmlize(MathMLStream &) 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_;