]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpace.h
Substack support for XHTML.
[lyx.git] / src / mathed / InsetMathSpace.h
index 15b79d2b58d2086bb47d17937a5d02b14103f501..fa5c8aee2ffd4447b41d1ea4e00d10651d0544f0 100644 (file)
@@ -18,6 +18,7 @@
 
 namespace lyx {
 
+struct InsetSpaceParams;
 
 /// Smart spaces
 class InsetMathSpace : public InsetMath {
@@ -29,8 +30,6 @@ public:
        ///
        explicit InsetMathSpace(Length const & length);
        ///
-       ~InsetMathSpace();
-       ///
        InsetMathSpace const * asSpaceInset() const { return this; }
        ///
        InsetMathSpace * asSpaceInset() { return this; }
@@ -52,15 +51,22 @@ 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;
        ///
-       EDITABLE editable() const { return IS_EDITABLE; }
+       bool hasSettings() const { return true; }
        ///
-       docstring contextMenu(BufferView const &, int, int) const;
+       docstring contextMenuName() const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       ///
+       InsetCode lyxCode() const { return MATH_SPACE_CODE; }
+
 protected:
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);