]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetNewpage.h
Use new display() values to remove some inset hardcoding.
[features.git] / src / insets / InsetNewpage.h
index 002ae7f77feaa41456e8543efc61bd4de0bd9782..51142d0e2dfffd2f1c94c51fbdcf13b15b998ef5 100644 (file)
@@ -65,7 +65,8 @@ private:
        ///
        void latex(otexstream &, OutputParams const &) const;
        ///
-       int plaintext(odocstream &, OutputParams const &) const;
+       int plaintext(odocstringstream & ods, OutputParams const & op,
+                     size_t max_length = INT_MAX) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
@@ -75,13 +76,13 @@ private:
        ///
        void write(std::ostream & os) const;
        ///
-       DisplayType display() const { return AlignCenter; }
+       DisplayType display() const { return Display; }
        ///
        docstring insetLabel() const;
        ///
        ColorCode ColorName() const;
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        ///
        Inset * clone() const { return new InsetNewpage(*this); }
        ///