]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetGraphics.h
index 4e30dfb0e7b7714e293de4f30d350391b7b8b2c7..ee96bc3b626edd322e47ad37f1f6128e0b038b2b 100644 (file)
@@ -23,7 +23,6 @@
 
 namespace lyx {
 
-class Dialogs;
 class RenderGraphic;
 class LaTeXFeatures;
 
@@ -48,13 +47,13 @@ public:
         fragile commands by adding a #\protect# before.
         */
        int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                 OutputParams const &) const;
        ///
        int plaintext(Buffer const &, odocstream &,
-                     OutputParams const &) const;
+                     OutputParams const &) const;
        ///
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+                   OutputParams const &) const;
 
        /** Tell LyX what the latex features you need i.e. what latex packages
            you need to be included.
@@ -79,6 +78,8 @@ public:
        void editGraphics(InsetGraphicsParams const &, Buffer const &) const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       /// all graphics can be embedded
+       void registerEmbeddedFiles(Buffer const &, EmbeddedFiles &, ParConstIterator const &) const;
 protected:
        InsetGraphics(InsetGraphics const &);
        ///
@@ -86,7 +87,7 @@ protected:
 private:
        friend class InsetGraphicsMailer;
 
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        /// Read the inset native format
        void readInsetGraphics(Lexer & lex, std::string const & bufpath);