]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTransforms.h
Let the Foot inset have a different Layout when inside a title
[lyx.git] / src / insets / ExternalTransforms.h
index c3ab382a670ae076824136c1ff6d10c19aafbd59..a43b45b312d5a569c68f025af8b53fef459524b3 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef EXTERNALTRANSFORMS_H
 #define EXTERNALTRANSFORMS_H
 
-#include "lyxlength.h"
+#include "Length.h"
 
 #include "graphics/GraphicsParams.h"
 
 #include <map>
 #include <memory>
 
-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<TransformCommand::ptr_type(RotationData)>
        RotationCommandFactory;
 
 
-struct TransformStore
+class TransformStore
 {
+public:
        TransformStore() {}
 
        /** Stores \c factory and a reminder of what \c data this \c factory