]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.h
HTML output code for a handful of easy insets.
[lyx.git] / src / insets / InsetBox.h
index 2567a5ca5651f3f6e21675c775c9ed94f5cd6c17..c254fb6ea1dacf8f7f76f9fa9c40d49ac0788f65 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;
@@ -105,9 +105,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 +119,8 @@ private:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
+       int xhtml(odocstream &, OutputParams const &) const;
+       ///
        void validate(LaTeXFeatures &) const;
        ///
        InsetBoxParams const & params() const { return params_; }