///
~InsetGraphics();
///
- bool metrics(MetricsInfo &, Dimension &) const;
+ void metrics(MetricsInfo &, Dimension &) const;
///
EDITABLE editable() const;
///
void editGraphics(InsetGraphicsParams const &, Buffer const &) const;
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+ /// all graphics can be embedded
+ void registerEmbeddedFiles(Buffer const &, EmbeddedFiles &) const;
+ ///
+ void updateEmbeddedFile(Buffer const &, EmbeddedFile const &);
protected:
InsetGraphics(InsetGraphics const &);
///
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);