#ifndef INSET_GRAPHICS_H
#define INSET_GRAPHICS_H
-
-
#include "insets/inset.h"
#include "insets/insetgraphicsParams.h"
///
~InsetGraphics();
///
- virtual dispatch_result localDispatch(FuncRequest const & cmd);
- ///
- int ascent(BufferView *, LyXFont const &) const;
- ///
- int descent(BufferView *, LyXFont const &) const;
- ///
- int width(BufferView *, LyXFont const &) const;
- ///
- void draw(BufferView *, LyXFont const &, int, float &, bool) const;
+ virtual dispatch_result localDispatch(FuncRequest const & cmd);
///
- void edit(BufferView *, int, int, mouse_button::state);
+ void dimension(BufferView *, LyXFont const &, Dimension &) const;
///
- void edit(BufferView * bv, bool front = true);
+ void draw(BufferView *, LyXFont const &, int, float &) const;
///
EDITABLE editable() const;
///
fragile commands by adding a #\protect# before.
*/
int latex(Buffer const *, std::ostream &,
- bool fragile, bool free_spc) const;
+ LatexRunParams const &) const;
///
int ascii(Buffer const *, std::ostream &, int linelen) const;
///
/// Create the options for the latex command.
string const createLatexOptions() const;
/// Convert the file if needed, and return the location of the file.
- string const prepareFile(Buffer const * buf) const;
+ string const prepareFile(Buffer const * buf, LatexRunParams const &) const;
///
InsetGraphicsParams params_;
///
InsetGraphicsMailer(InsetGraphics & inset);
///
- virtual Inset & inset() const { return inset_; }
+ virtual InsetBase & inset() const { return inset_; }
///
virtual string const & name() const { return name_; }
///