]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBoldSymbol.h
Revert "Fix a number of signedness warnings"
[lyx.git] / src / mathed / InsetMathBoldSymbol.h
index e0ba049d14c54161449032379c24637cc6ae822d..9d883d2c5d027cae0fa068bd548fd68d44cc4f55 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.
  */
@@ -17,7 +17,6 @@
 
 namespace lyx {
 
-
 /// Inset for AMSTeX's \boldsymbol
 class InsetMathBoldSymbol : public InsetMathNest {
 public:
@@ -27,25 +26,33 @@ public:
                BM_HEAVY
        };
        ///
-       InsetMathBoldSymbol(Kind kind = AMS_BOLD);
+       InsetMathBoldSymbol(Buffer * buf, Kind kind = AMS_BOLD);
+       ///
+       docstring name() const override;
+       ///
+       void metrics(MetricsInfo & mi, Dimension & dim) const override;
+       ///
+       void draw(PainterInfo & pi, int x, int y) const override;
+       ///
+       void metricsT(TextMetricsInfo const & mi, Dimension & dim) const override;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       void drawT(TextPainter & pi, int x, int y) const override;
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
+       void validate(LaTeXFeatures & features) const override;
        ///
-       void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
+       void write(WriteStream & os) const override;
        ///
-       void drawT(TextPainter & pi, int x, int y) const;
+       void mathmlize(MathStream &) const override;
        ///
-       void validate(LaTeXFeatures & features) const;
+       void htmlize(HtmlStream &) const override;
        ///
-       void write(WriteStream & os) const;
+       void infoize(odocstream & os) const override;
        ///
-       void infoize(odocstream & os) const;
+       InsetCode lyxCode() const override { return MATH_BOLDSYMBOL_CODE; }
        ///
        Kind kind_;
 private:
-       virtual Inset * clone() const;
+       Inset * clone() const override;
 };