X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetgraphics.h;h=ac380bffc46564d9f8b3fb5dd26c4139161a7f67;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=9db4f94b78041952e6fe4d6791fff4023cc2548b;hpb=85570cb7d60809781d71b5eafaeae656a1d7f86b;p=lyx.git diff --git a/src/insets/insetgraphics.h b/src/insets/insetgraphics.h index 9db4f94b78..ac380bffc4 100644 --- a/src/insets/insetgraphics.h +++ b/src/insets/insetgraphics.h @@ -7,6 +7,8 @@ * Copyright 1995 Matthias Ettrich * Copyright 1995-2001 the LyX Team. * + * \author Baruch Even + * \author Herbert Voss * ====================================================== */ #ifndef INSET_GRAPHICS_H @@ -52,6 +54,8 @@ public: /// void edit(BufferView *, int, int, unsigned int); /// + void edit(BufferView * bv, bool front = true); + /// EDITABLE editable() const; /// void write(Buffer const *, std::ostream &) const; @@ -69,7 +73,7 @@ public: /// 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. @@ -96,6 +100,11 @@ public: SigC::Signal0 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. @@ -108,8 +117,10 @@ private: mutable boost::shared_ptr 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