X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetGraphicsParams.h;h=33471bf64392fa12bff8cbd14ae622820b8fc3c6;hb=fd5d47d182a70de532225715a04b77fe4155aa18;hp=90274f7b9830c454576711392f337efd840d55d6;hpb=06e1d50c7ef8aeaf8f7844d4100be8ed766ee33e;p=lyx.git diff --git a/src/insets/InsetGraphicsParams.h b/src/insets/InsetGraphicsParams.h index 90274f7b98..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) @@ -60,10 +62,6 @@ public: std::string rotateAngle; /// Origin point of rotation std::string rotateOrigin; - /// Do we have a subcaption? - bool subcaption; - /// The text of the subcaption. - std::string subcaptionText; /// any userdefined special command std::string special; @@ -84,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();