X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetGraphicsParams.h;h=33471bf64392fa12bff8cbd14ae622820b8fc3c6;hb=9b530e59c2b74828f3a68f3bb7ee3dee0365cdc0;hp=5a321ecc6a7dbba5dcaab9a24958bc56d81a25f4;hpb=ac1977018b67c3ec684e999cf6e4dc71a64138c4;p=lyx.git diff --git a/src/insets/InsetGraphicsParams.h b/src/insets/InsetGraphicsParams.h index 5a321ecc6a..33471bf643 100644 --- a/src/insets/InsetGraphicsParams.h +++ b/src/insets/InsetGraphicsParams.h @@ -5,7 +5,7 @@ * Licence details can be found in the file COPYING. * * \author Baruch Even - * \author Herbert Voß + * \author Herbert Voß * * Full author contact details are available in file CREDITS. */ @@ -14,9 +14,11 @@ #define INSETGRAPHICSPARAMS_H -#include "graphics/GraphicsTypes.h" #include "Length.h" -#include "EmbeddedFiles.h" + +#include "support/FileName.h" + +#include namespace lyx { @@ -31,11 +33,11 @@ class InsetGraphicsParams { public: /// Image filename. - EmbeddedFile filename; + support::DocFileName filename; /// Scaling the Screen inside Lyx unsigned int lyxscale; - /// How to display the image inside LyX - graphics::DisplayType display; + /// If to display the image inside LyX + bool display; /// Scaling for output (LaTeX) std::string scale; /// sizes for output (LaTeX) @@ -80,6 +82,9 @@ public: // to display or not. graphics::Params as_grfxParams() const; + // FIXME UNICODE. Write functions need to use odostream instead of ostream firstly. + /// Identification of the graphics template. No template equals empty string. + std::string groupId; private: /// Initialize the object to a default status. void init();