]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetExternal.h
index 96e9ebab420d03b92c2d6267a3594115bfe7c549..ac6cc991fa8e9296d38da9c89463bf39c9716b7c 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "Inset.h"
 #include "ExternalTransforms.h"
+#include "EmbeddedFiles.h"
 
 #include "support/FileName.h"
 #include "support/Translator.h"
@@ -126,13 +127,13 @@ public:
 
        /// \returns the number of rows (\n's) of generated code.
        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;
 
        /// Update needed features for this inset.
        virtual void validate(LaTeXFeatures & features) const;
@@ -147,13 +148,16 @@ public:
        void edit(Cursor & cur, bool left);
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       /// external file can be embedded
+       void registerEmbeddedFiles(Buffer const &, EmbeddedFiles &,
+                       ParConstIterator const &) const;
 
 protected:
        InsetExternal(InsetExternal const &);
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        /** This method is connected to the graphics loader, so we are
         *  informed when the image has been loaded.