]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphicsParams.h
ExternalTemplate.cpp:
[lyx.git] / src / insets / InsetGraphicsParams.h
index 5a321ecc6a7dbba5dcaab9a24958bc56d81a25f4..0f9600971c69dd60fd16263d68e51bb628f59ffa 100644 (file)
 
 #include "graphics/GraphicsTypes.h"
 #include "Length.h"
-#include "EmbeddedFiles.h"
+
+#include "support/FileName.h"
+
+#include <string>
 
 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)
@@ -80,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();