X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetBox.h;h=83ba43403e07129dd5270eb6446a85970aa820f6;hb=996505c2ae981187d34580633fca410972c2493d;hp=2567a5ca5651f3f6e21675c775c9ed94f5cd6c17;hpb=0ae4b20a2887c57ddcf439d5780e80844e81f9c0;p=lyx.git diff --git a/src/insets/InsetBox.h b/src/insets/InsetBox.h index 2567a5ca56..83ba43403e 100644 --- a/src/insets/InsetBox.h +++ b/src/insets/InsetBox.h @@ -38,7 +38,7 @@ public: bool inner_box; /// Length width; - /// "special" widths, see usrguide.dvi §3.5 + /// "special" widths, see usrguide.dvi §3.5 std::string special; /// char pos; @@ -76,7 +76,7 @@ public: Doublebox }; /// - InsetBox(Buffer const &, std::string const &); + InsetBox(Buffer *, std::string const &); /// ~InsetBox(); /// @@ -87,8 +87,6 @@ private: /// friend class InsetBoxParams; /// - docstring editMessage() const; - /// InsetCode lyxCode() const { return BOX_CODE; } /// docstring name() const; @@ -105,9 +103,9 @@ private: /// DisplayType display() const { return Inline; } /// - bool allowParagraphCustomization(idx_type = 0) { return forceEmptyLayout(); } + bool allowParagraphCustomization(idx_type = 0) const { return !forcePlainLayout(); } /// - bool forceEmptyLayout(idx_type = 0) const; + bool forcePlainLayout(idx_type = 0) const; /// bool neverIndent() const { return true; } /// @@ -119,6 +117,8 @@ private: /// int docbook(odocstream &, OutputParams const &) const; /// + docstring xhtml(XHTMLStream &, OutputParams const &) const; + /// void validate(LaTeXFeatures &) const; /// InsetBoxParams const & params() const { return params_; }