]> 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 94dd37cce871ae1cdc9110c027a455d2877bfac0..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();
        ///
@@ -86,9 +86,6 @@ public:
 private:
        ///
        friend class InsetBoxParams;
-       friend class InsetBoxMailer;
-       ///
-       docstring editMessage() const;
        ///
        InsetCode lyxCode() const { return BOX_CODE; }
        ///
@@ -106,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; }
        ///
@@ -120,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_; }