]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewpage.h
Properly fix handling of title layouts within insets (#11787)
[lyx.git] / src / insets / InsetNewpage.h
index 51f640a09700b1483b1feb8fe2f4fb939bf89e3e..7fc4cc49b1f2e23d82456bf29a1c5e98f91c5536 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; }
        ///
@@ -70,13 +68,13 @@ private:
        ///
        int docbook(odocstream &, 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;
        ///