]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphics.h
Introduce wide streams. This fixes the remaining problems of plain text
[lyx.git] / src / insets / insetgraphics.h
index 0fe0c6daff43712ada94c14974f578ae933ff2ed..effe8489e034627b6cf19b950556975a0b5b43af 100644 (file)
@@ -46,12 +46,9 @@ 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;
 
@@ -61,7 +58,7 @@ public:
        void validate(LaTeXFeatures & features) const;
 
        /// returns LyX code associated with the inset. Used for TOC, ...)
-       InsetOld::Code lyxCode() const { return InsetOld::GRAPHICS_CODE; }
+       InsetBase::Code lyxCode() const { return InsetBase::GRAPHICS_CODE; }
 
        /** Set the inset parameters, used by the GUIndependent dialog.
            Return true of new params are different from what was so far.
@@ -76,6 +73,8 @@ public:
        void edit(LCursor & cur, bool left);
        ///
        void editGraphics(InsetGraphicsParams const &, Buffer const &) const;
+       ///
+       bool getStatus(LCursor &, FuncRequest const &, FuncStatus &) const;
 protected:
        InsetGraphics(InsetGraphics const &);
        ///