]> 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 3e60b41c12e8409a043b279f50ed75f606afd1f0..32147dbe2549bce617dfd281cc7d2d6b6eb63e4f 100644 (file)
 #define MATH_SPACEINSET_H
 
 #include "InsetMath.h"
-#include "Length.h"
+
+#include "support/Length.h"
 
 
 namespace lyx {
 
+struct InsetSpaceParams;
 
 /// Smart spaces
 class InsetMathSpace : public InsetMath {
@@ -27,9 +29,7 @@ public:
        ///
        explicit InsetMathSpace(std::string const & name, std::string const & length);
        ///
-       explicit InsetMathSpace(Length const & length);
-       ///
-       ~InsetMathSpace();
+       explicit InsetMathSpace(Length const & length, bool const prot = false);
        ///
        InsetMathSpace const * asSpaceInset() const { return this; }
        ///
@@ -54,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.
-       std::string const createDialogStr() const;
+       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;
        ///