]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewline.h
Allow row-breaking after some insets
[lyx.git] / src / insets / InsetNewline.h
index e0a13f38d415172d62f489973b5f5d9732058ece..afa5fcdcc88ee07fe0b1528816d2866ea42d34b7 100644 (file)
@@ -47,6 +47,8 @@ public:
        explicit InsetNewline(InsetNewlineParams par) : Inset(0)
        { params_.kind = par.kind; }
        ///
+       RowFlags rowFlags() const { return BreakAfter | RowAfter; }
+       ///
        static void string2params(std::string const &, InsetNewlineParams &);
        ///
        static std::string params2string(InsetNewlineParams const &);
@@ -65,7 +67,7 @@ private:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        void read(Lexer & lex);
        ///