X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FExternalTransforms.h;h=a43b45b312d5a569c68f025af8b53fef459524b3;hb=9b530e59c2b74828f3a68f3bb7ee3dee0365cdc0;hp=c3ab382a670ae076824136c1ff6d10c19aafbd59;hpb=b029c3bf800a63786ce017b4d12bde5f8abb37de;p=lyx.git diff --git a/src/insets/ExternalTransforms.h b/src/insets/ExternalTransforms.h index c3ab382a67..a43b45b312 100644 --- a/src/insets/ExternalTransforms.h +++ b/src/insets/ExternalTransforms.h @@ -12,7 +12,7 @@ #ifndef EXTERNALTRANSFORMS_H #define EXTERNALTRANSFORMS_H -#include "lyxlength.h" +#include "Length.h" #include "graphics/GraphicsParams.h" @@ -23,9 +23,10 @@ #include #include -class LyXLex; - namespace lyx { + +class Lexer; + namespace external { /* @@ -35,7 +36,7 @@ class ClipData { public: ClipData() : clip(false) {} - lyx::graphics::BoundingBox bbox; + graphics::BoundingBox bbox; bool clip; }; @@ -62,8 +63,8 @@ public: bool usingScale() const; std::string scale; - LyXLength width; - LyXLength height; + Length width; + Length height; bool keepAspectRatio; }; @@ -302,7 +303,6 @@ private: */ std::string const sanitizeLatexOption(std::string const & input); std::string const sanitizeDocBookOption(std::string const & input); -std::string const sanitizeLinuxDocOption(std::string const & input); enum TransformID { @@ -327,8 +327,9 @@ typedef boost::function RotationCommandFactory; -struct TransformStore +class TransformStore { +public: TransformStore() {} /** Stores \c factory and a reminder of what \c data this \c factory