]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewline.h
Improve handling of top and bottom margin
[lyx.git] / src / insets / InsetNewline.h
index e0a13f38d415172d62f489973b5f5d9732058ece..4209dfee380bcc1ed3e9ab5f43319134919c236f 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 &);
@@ -63,9 +65,9 @@ private:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       int docbook(odocstream &, OutputParams const &) const;
+       void docbook(XMLStream &, OutputParams const &) const;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        void read(Lexer & lex);
        ///