#define MATH_SPACEINSET_H
#include "InsetMath.h"
-#include "Length.h"
+
+#include "support/Length.h"
namespace lyx {
+struct InsetSpaceParams;
/// Smart spaces
class InsetMathSpace : public InsetMath {
///
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; }
///
///
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;
///