]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.h
This patch introduces an optional argument to Buffer::updateLabels(), so
[lyx.git] / src / insets / InsetBox.h
index cf86e13d41a9550cb70d8e4152e697d62578847f..83ba43403e07129dd5270eb6446a85970aa820f6 100644 (file)
@@ -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,7 +103,7 @@ private:
        ///
        DisplayType display() const { return Inline; }
        ///
-       bool allowParagraphCustomization(idx_type = 0) { return forcePlainLayout(); }
+       bool allowParagraphCustomization(idx_type = 0) const { return !forcePlainLayout(); }
        ///
        bool forcePlainLayout(idx_type = 0) const;
        ///
@@ -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_; }