+/// This class holds all the parameters needed by insetGraphics.
+class InsetGraphicsParams
+{
+public:
+ /// Image filename.
+ support::DocFileName filename;
+ /// Scaling the Screen inside Lyx
+ unsigned int lyxscale;
+ /// How to display the image inside LyX
+ graphics::DisplayType display;
+ /// Scaling for output (LaTeX)
+ std::string scale;
+ /// sizes for output (LaTeX)
+ LyXLength width;
+ ///
+ LyXLength height;
+ /// Keep the ratio between height and width when resizing.
+ bool keepAspectRatio;
+ /// draft mode
+ bool draft;
+ /// what to do with zipped files
+ bool noUnzip;