]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphics.h
* insettabular.[Ch]: remove remains of the 'update' mechanism,
[lyx.git] / src / insets / insetgraphics.h
index 070a096e9acd0ba48157bf15388fee8756428752..60770ef658e671f8619a73b7884c2c7ec129581c 100644 (file)
@@ -46,16 +46,16 @@ public:
         fragile commands by adding a #\protect# before.
         */
        int latex(Buffer const &, std::ostream &,
-                 LatexRunParams const &) const;
+                 OutputParams const &) const;
        ///
-       int ascii(Buffer const &, std::ostream &,
-                 LatexRunParams const &) const;
+       int plaintext(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
        ///
        int linuxdoc(Buffer const &, std::ostream &,
-                    LatexRunParams const &) const;
+                    OutputParams const &) const;
        ///
        int docbook(Buffer const &, std::ostream &,
-                   LatexRunParams const &) const;
+                   OutputParams const &) const;
 
        /** Tell LyX what the latex features you need i.e. what latex packages
            you need to be included.
@@ -77,11 +77,11 @@ public:
        InsetGraphicsParams const & params() const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
+       ///
+       void edit(LCursor & cur, bool left);
 protected:
        ///
-       virtual
-       DispatchResult
-       priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);
+       void priv_dispatch(LCursor & cur, FuncRequest const & cmd);
 private:
        ///
        friend class InsetGraphicsMailer;
@@ -99,7 +99,7 @@ private:
        /// Create the options for the latex command.
        std::string const createLatexOptions() const;
        /// Convert the file if needed, and return the location of the file.
-       std::string const prepareFile(Buffer const & buf, LatexRunParams const &) const;
+       std::string const prepareFile(Buffer const & buf, OutputParams const &) const;
 
        ///
        InsetGraphicsParams params_;