]> 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 c2d83abc36d2159069ec24735686f8ac40a7c24c..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;
 };
 
 
@@ -41,8 +43,6 @@ public:
        ///
        InsetFloat(BufferParams const &, std::string const &);
        ///
-       InsetFloat(InsetFloat const &);
-       ///
        ~InsetFloat();
        ///
        void write(Buffer const & buf, std::ostream & os) const;
@@ -74,15 +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
-       DispatchResult
-       priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);
+       virtual void priv_dispatch(LCursor & cur, FuncRequest & cmd);
 private:
        ///
        InsetFloatParams params_;