]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloat.h
Allow row-breaking after some insets
[lyx.git] / src / insets / InsetFloat.h
index 224017e7eafa72d8d389aae4d23e47dbb666ba3d..f58c89c2f6945a8b289c467e6a7d6130bd288a52 100644 (file)
@@ -76,6 +76,8 @@ public:
        bool allowsCaptionVariation(std::string const &) const;
        ///
        LyXAlignment contentAlignment() const;
+       ///
+       bool forceParDirectionSwitch() const { return true; }
 private:
        ///
        void setCaptionType(std::string const & type);
@@ -99,7 +101,7 @@ private:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        bool insetAllowed(InsetCode) const;
        /** returns false if, when outputing LaTeX, font changes should
@@ -120,6 +122,8 @@ private:
        TexString getCaption(OutputParams const &) const;
        ///
        std::string getAlignment() const;
+       ///
+       OutputParams::CtObject CtObject(OutputParams const &) const { return OutputParams::CT_OMITOBJECT; }
 
        InsetFloatParams params_;
 };