class LaTeXFeatures;
-class InsetSpaceParams {
-public:
+struct InsetSpaceParams {
/// The different kinds of spaces we support
enum Kind {
/// Normal space ('\ ')
///
explicit InsetSpace(InsetSpaceParams const & par);
///
- InsetSpaceParams params() const { return params_; }
+ InsetSpaceParams const & params() const { return params_; }
///
InsetSpaceParams::Kind kind() const;
- ///
- ~InsetSpace();
///
static void string2params(std::string const &, InsetSpaceParams &);
///
int docbook(odocstream &, OutputParams const &) const;
///
- docstring xhtml(odocstream &, OutputParams const &) const;
+ docstring xhtml(XHTMLStream &, OutputParams const &) const;
///
void validate(LaTeXFeatures & features) const;
/// the string that is passed to the TOC
bool isSpace() const { return true; }
///
docstring contextMenu(BufferView const & bv, int x, int y) const;
+ ///
+ bool clickable(int /* x */, int /* y */) const { return true; }
protected:
///
Inset * clone() const { return new InsetSpace(*this); }
bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const;
private:
- ///
- bool showInsetDialog(BufferView * bv) const;
///
InsetSpaceParams params_;
};