X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSpecialChar.h;h=1efdc93432b56230b5de4a2afd1068058eed49b4;hb=02e82157ec583c3900e359de86be79fac6512387;hp=fde2e95b28e8490bb1ec980394ce38496ed101c6;hpb=1516e79855a6a32f3eb538c8290794a67576d43a;p=lyx.git diff --git a/src/mathed/InsetMathSpecialChar.h b/src/mathed/InsetMathSpecialChar.h index fde2e95b28..1efdc93432 100644 --- a/src/mathed/InsetMathSpecialChar.h +++ b/src/mathed/InsetMathSpecialChar.h @@ -14,6 +14,8 @@ #include "InsetMath.h" +#include "support/docstring.h" + namespace lyx { /// The special character inset. @@ -23,8 +25,6 @@ public: /// explicit InsetMathSpecialChar(docstring const & name); /// - void setBuffer(Buffer &) {} - /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; @@ -48,12 +48,16 @@ public: void mathematica(MathematicaStream &) const; /// void mathmlize(MathStream & ms) const; + /// + void htmlize(HtmlStream & ms) const; /// identifies SpecialChar insets InsetMathSpecialChar const * asSpecialCharInset() const { return this; } /// docstring name() const { return name_; } /// char_type getChar() const { return char_; } + /// + InsetCode lyxCode() const { return MATH_SPECIALCHAR_CODE; } private: virtual Inset * clone() const;