X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSpecialChar.h;h=1efdc93432b56230b5de4a2afd1068058eed49b4;hb=5fdc577badb1cb133d6a0dc7d831bb1f82576adb;hp=7e2e8083f887aa68ce4326b604cbb6486860fd2c;hpb=7d4ec3f9440d70894e5a8d4cc578d9ef4c825764;p=lyx.git diff --git a/src/mathed/InsetMathSpecialChar.h b/src/mathed/InsetMathSpecialChar.h index 7e2e8083f8..1efdc93432 100644 --- a/src/mathed/InsetMathSpecialChar.h +++ b/src/mathed/InsetMathSpecialChar.h @@ -14,15 +14,16 @@ #include "InsetMath.h" +#include "support/docstring.h" + namespace lyx { /// The special character inset. -class InsetMathSpecialChar : public InsetMath { +class InsetMathSpecialChar : public InsetMath +{ public: /// - explicit InsetMathSpecialChar(docstring name); - /// - void setBuffer(Buffer &) {} + explicit InsetMathSpecialChar(docstring const & name); /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// @@ -47,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; @@ -66,4 +71,4 @@ private: } // namespace lyx -#endif +#endif // MATH_SPECIALCHARINSET_H