]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloat.h
convert graphics for .tex export, fixes bug 1231
[lyx.git] / src / insets / insetfloat.h
index 8d69c1c05e04284e88b8c7df27c742426e9071aa..633d0a75330087d20e321948541b1ef4a254adc6 100644 (file)
@@ -19,7 +19,7 @@
 
 struct InsetFloatParams {
        ///
-       InsetFloatParams() : wide(false) {}
+       InsetFloatParams() : wide(false), sideways(false) {}
        ///
        void write(std::ostream & os) const;
        ///
@@ -30,6 +30,8 @@ struct InsetFloatParams {
        std::string placement;
        ///
        bool wide;
+       ///
+       bool sideways;
 };
 
 
@@ -72,13 +74,15 @@ public:
        ///
        void wide(bool w, BufferParams const &);
        ///
+       void sideways(bool s, BufferParams const &);
+       ///
        void addToToc(lyx::toc::TocList &, Buffer const &) const;
        ///
        bool  showInsetDialog(BufferView *) const;
        ///
        InsetFloatParams const & params() const { return params_; }
 protected:
-       virtual void priv_dispatch(LCursor & cur, FuncRequest const & cmd);
+       virtual void priv_dispatch(LCursor & cur, FuncRequest & cmd);
 private:
        ///
        InsetFloatParams params_;