X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSpace.h;h=83a9c59f45b1d57f9c538c8fe16b9a6ccf23749e;hb=981e958b9d63930c83b1adced65b75b3d857ac97;hp=442fe2e799c2f15ea239fd24b68b6e165dbeb616;hpb=8a0134cc8ce7de41d6d6911a1c4219ca958f2b71;p=lyx.git diff --git a/src/mathed/InsetMathSpace.h b/src/mathed/InsetMathSpace.h index 442fe2e799..83a9c59f45 100644 --- a/src/mathed/InsetMathSpace.h +++ b/src/mathed/InsetMathSpace.h @@ -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,15 +51,17 @@ public: /// void octave(OctaveStream &) const; /// - docstring mathmlize(MathStream & ms) 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; + docstring contextMenuName() const; /// bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const; ///