]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewpage.h
Improve handling of top and bottom margin
[lyx.git] / src / insets / InsetNewpage.h
index 51f640a09700b1483b1feb8fe2f4fb939bf89e3e..1fb3436b62d373e728b85d35bd16d66f997b32d5 100644 (file)
@@ -54,8 +54,6 @@ public:
        ///
        static std::string params2string(InsetNewpageParams const &);
 private:
-       ///
-       InsetNewpageParams params() const { return params_; }
        ///
        InsetCode lyxCode() const { return NEWPAGE_CODE; }
        ///
@@ -68,15 +66,15 @@ 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);
        ///
        void write(std::ostream & os) const;
        ///
-       DisplayType display() const { return AlignCenter; }
+       RowFlags rowFlags() const { return Display; }
        ///
        docstring insetLabel() const;
        ///