X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetGraphicsParams.h;h=0f9600971c69dd60fd16263d68e51bb628f59ffa;hb=483e1fcd196ed61be3928e6f59f69dadbc2aaea4;hp=90274f7b9830c454576711392f337efd840d55d6;hpb=06e1d50c7ef8aeaf8f7844d4100be8ed766ee33e;p=lyx.git diff --git a/src/insets/InsetGraphicsParams.h b/src/insets/InsetGraphicsParams.h index 90274f7b98..0f9600971c 100644 --- a/src/insets/InsetGraphicsParams.h +++ b/src/insets/InsetGraphicsParams.h @@ -16,7 +16,10 @@ #include "graphics/GraphicsTypes.h" #include "Length.h" -#include "EmbeddedFiles.h" + +#include "support/FileName.h" + +#include namespace lyx { @@ -31,11 +34,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 +63,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 +83,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();