+/// 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;
+
+ /// The bounding box with "xLB yLB yRT yRT ", divided by a space!
+ std::string bb;
+ /// clip image
+ bool clip;
+
+ /// Rotation angle.
+ std::string rotateAngle;
+ /// Origin point of rotation
+ std::string rotateOrigin;