]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpecialChar.h
Fix drawing of empty boxes
[lyx.git] / src / mathed / InsetMathSpecialChar.h
index fde2e95b28e8490bb1ec980394ce38496ed101c6..1efdc93432b56230b5de4a2afd1068058eed49b4 100644 (file)
@@ -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;