]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpace.h
Fix drawing of empty boxes
[lyx.git] / src / mathed / InsetMathSpace.h
index 5770439660ca827645d851409b32c36cd3b322dd..4f16f1640bf5b38b949c2a6c5c4f3e2d294e4c88 100644 (file)
@@ -18,6 +18,7 @@
 
 namespace lyx {
 
+struct InsetSpaceParams;
 
 /// Smart spaces
 class InsetMathSpace : public InsetMath {
@@ -27,9 +28,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; }
        ///
@@ -52,13 +51,17 @@ public:
        ///
        void octave(OctaveStream &) const;
        ///
+       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;
        ///