]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphicsParams.h
Let the Foot inset have a different Layout when inside a title
[lyx.git] / src / insets / InsetGraphicsParams.h
index 5a321ecc6a7dbba5dcaab9a24958bc56d81a25f4..33471bf64392fa12bff8cbd14ae622820b8fc3c6 100644 (file)
@@ -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.
  */
 #define INSETGRAPHICSPARAMS_H
 
 
-#include "graphics/GraphicsTypes.h"
 #include "Length.h"
-#include "EmbeddedFiles.h"
+
+#include "support/FileName.h"
+
+#include <string>
 
 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();