X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathNumber.h;h=68d08bd31598b37c5feded4a751119be9b513e91;hb=ef7a142f3f4e5937dabf7fb8fc7957bf351e166d;hp=040ed4fd408d9ca75dbf68c6fd7eccfda47b294a;hpb=ed858d73e57ce7aa89e38c1bc4d799362edb0227;p=lyx.git diff --git a/src/mathed/InsetMathNumber.h b/src/mathed/InsetMathNumber.h index 040ed4fd40..68d08bd315 100644 --- a/src/mathed/InsetMathNumber.h +++ b/src/mathed/InsetMathNumber.h @@ -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. */ @@ -14,19 +14,19 @@ #include "InsetMath.h" +#include "support/docstring.h" -namespace lyx { +namespace lyx { -/** Some inset that "is" a number - * mainly for math-extern +/** Some inset that "is" a number mainly for math-extern */ class InsetMathNumber : public InsetMath { public: /// explicit InsetMathNumber(docstring const & s); /// - bool metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo &, int x, int y) const; /// @@ -45,7 +45,11 @@ public: /// void mathmlize(MathStream &) const; /// + void htmlize(HtmlStream &) const; + /// void write(WriteStream & os) const; + /// + InsetCode lyxCode() const { return MATH_NUMBER_CODE; } private: virtual Inset * clone() const; @@ -55,4 +59,5 @@ private: } // namespace lyx + #endif