]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpace.h
Revert "XHTML: remove DOCTYPE, as the document is then understood as HTML4/XHTML1...
[lyx.git] / src / mathed / InsetMathSpace.h
index 381562178ce34703bb51da1b44f94a1ea641b74b..32147dbe2549bce617dfd281cc7d2d6b6eb63e4f 100644 (file)
@@ -13,7 +13,8 @@
 #define MATH_SPACEINSET_H
 
 #include "InsetMath.h"
-#include "Length.h"
+
+#include "support/Length.h"
 
 
 namespace lyx {
@@ -28,7 +29,7 @@ public:
        ///
        explicit InsetMathSpace(std::string const & name, std::string const & length);
        ///
-       explicit InsetMathSpace(Length const & length);
+       explicit InsetMathSpace(Length const & length, bool const prot = false);
        ///
        InsetMathSpace const * asSpaceInset() const { return this; }
        ///
@@ -53,13 +54,15 @@ public:
        ///
        void mathmlize(MathStream & ms) const;
        ///
+       void htmlize(HtmlStream & ms) const;
+       ///
        void write(WriteStream & os) const;
        /// generate something that will be understood by the Dialogs.
        InsetSpaceParams params() const;
        ///
        bool hasSettings() const { return true; }
        ///
-       docstring contextMenu(BufferView const &, int, int) const;
+       std::string contextMenuName() const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///