]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetref.h
Introduce wide streams. This fixes the remaining problems of plain text
[lyx.git] / src / insets / insetref.h
index 0311730dbcc8832404458d0b55cbde168a92ca0a..35550dde373f8fd1cf14612302bd44d8b422d0de 100644 (file)
@@ -36,7 +36,7 @@ public:
        InsetRef(InsetCommandParams const &, Buffer const &);
 
        ///
-       std::string const getScreenLabel(Buffer const &) const;
+       lyx::docstring const getScreenLabel(Buffer const &) const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
@@ -47,14 +47,14 @@ public:
        int latex(Buffer const &, std::ostream &,
                  OutputParams const &) const;
        ///
-       int plaintext(Buffer const &, std::ostream &,
+       int plaintext(Buffer const &, lyx::odocstream &,
                  OutputParams const &) const;
        ///
-       int linuxdoc(Buffer const &, std::ostream &,
-                    OutputParams const &) const;
-       ///
        int docbook(Buffer const &, std::ostream &,
                    OutputParams const &) const;
+       /// the string that is passed to the TOC
+       virtual int textString(Buffer const &, lyx::odocstream &,
+               OutputParams const &) const;
        ///
        void validate(LaTeXFeatures & features) const;
 protected: