* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 the LyX Team.
*
+ * \author Baruch Even
+ * \author Herbert Voss <voss@lyx.org>
* ====================================================== */
#ifndef INSET_GRAPHICS_H
///
void edit(BufferView *, int, int, unsigned int);
///
+ void edit(BufferView * bv, bool front = true);
+ ///
EDITABLE editable() const;
///
void write(Buffer const *, std::ostream &) const;
///
int linuxdoc(Buffer const *, std::ostream &) const;
///
- int docBook(Buffer const *, std::ostream &) const;
+ int docbook(Buffer const *, std::ostream &) const;
/** Tell LyX what the latex features you need i.e. what latex packages
you need to be included.
SigC::Signal0<void> hideDialog;
private:
+ /// Read the inset native format
+ void readInsetGraphics(Buffer const * buf, LyXLex & lex);
+ /// Read the FigInset file format
+ void readFigInset(Buffer const * buf, LyXLex & lex);
+
/// Update the inset after parameter change.
void updateInset() const;
/// Get the status message, depends on the image loading status.
mutable boost::shared_ptr<GraphicsCacheItem> cacheHandle;
/// is the pixmap initialized?
mutable bool imageLoaded;
- ///
+ /// the parameters
InsetGraphicsParams params;
+ /// holds the entity name that defines the graphics location (SGML).
+ string const graphic_label;
};
#endif