}
-/// This struct holds all the parameters needed by insetGraphics.
-struct InsetGraphicsParams
+/// This class holds all the parameters needed by insetGraphics.
+class InsetGraphicsParams
{
+public:
/// Image filename.
lyx::support::FileName filename;
/// Scaling the Screen inside Lyx
/// How to display the image inside LyX
lyx::graphics::DisplayType display;
/// Scaling for output (LaTeX)
- float scale;
+ std::string scale;
/// sizes for output (LaTeX)
LyXLength width;
///
bool clip;
/// Rotation angle.
- float rotateAngle;
+ std::string rotateAngle;
/// Origin point of rotation
std::string rotateOrigin;
/// Do we have a subcaption?