+ void write(Buffer const &, std::ostream &) const;
+ bool read(Buffer const &, LyXLex &);
+
+ /// The name of the tempfile used for manipulations.
+ support::FileName const & tempname() const { return tempname_(); }
+
+ /// The template currently in use.
+ void settemplate(std::string const &);
+ std::string const & templatename() const { return templatename_; }
+
+ /// The external file.
+ support::DocFileName filename;
+ /// How the inset is to be displayed by LyX.
+ external::DisplayType display;
+ /// The scale of the displayed graphic (if shown).
+ unsigned int lyxscale;
+
+ external::ClipData clipdata;
+ external::ExtraData extradata;
+ external::ResizeData resizedata;
+ external::RotationData rotationdata;
+
+ /** if \c true, simply output the filename, maybe wrapped in a
+ * box, rather than generate and display the image etc.
+ */
+ bool draft;
+
+private:
+ external::TempName tempname_;
+ std::string templatename_;
+};
+
+
+class RenderBase;
+
+///
+class InsetExternal : public InsetOld, public boost::signals::trackable
+{
+public: