///
void draw(PainterInfo & pi, int x, int y) const;
///
- void edit(BufferView * bv, bool);
+ void edit(LCursor & cur, bool left);
+ ///
+ void editGraphics(InsetGraphicsParams const &, Buffer const &) const;
protected:
///
- virtual
- DispatchResult
- priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);
+ void priv_dispatch(LCursor & cur, FuncRequest & cmd);
private:
///
friend class InsetGraphicsMailer;
- /** This method is connected to the graphics loader, so we are
- * informed when the image has been loaded.
- */
- void statusChanged() const;
-
/// Read the inset native format
void readInsetGraphics(LyXLex & lex, std::string const & bufpath);
std::string const statusMessage() const;
/// Create the options for the latex command.
std::string const createLatexOptions() const;
+ /// Create length values for docbook export.
+ std::string const toDocbookLength(LyXLength const & len) const;
+ /// Create the atributes for docbook export.
+ std::string const createDocBookAttributes() const;
/// Convert the file if needed, and return the location of the file.
std::string const prepareFile(Buffer const & buf, OutputParams const &) const;