]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloat.h
This optional argument to the InsetCollapsable constructor
[lyx.git] / src / insets / InsetFloat.h
index e806d9a70980bb1ad2cfbcd928e6ac5108565ecc..b1500f9a0ed99d9d17ea3e0ecdf57bdd59ce2a4d 100644 (file)
@@ -30,7 +30,7 @@ public:
        std::string type;
        ///
        std::string placement;
-       ///
+       /// span columns
        bool wide;
        ///
        bool sideways;
@@ -60,17 +60,21 @@ public:
        ///
        static std::string params2string(InsetFloatParams const &);
        ///
-       void setWide(bool w, BufferParams const &);
+       void setWide(bool w, BufferParams const &, bool update_label = true);
+       ///
+       void setSideways(bool s, BufferParams const &, bool update_label = true);
        ///
-       void setSideways(bool s, BufferParams const &);
+       void setSubfloat(bool s, BufferParams const &, bool update_label = true);
        ///
-       void setSubfloat(bool s, BufferParams const &);
+       void setNewLabel(BufferParams const &);
        ///
        InsetFloatParams const & params() const { return params_; }
 private:
        ///
        docstring name() const { return name_; }
        ///
+       docstring toolTip(BufferView const & bv, int x, int y) const;
+       ///
        void write(std::ostream & os) const;
        ///
        void read(Lexer & lex);
@@ -105,6 +109,8 @@ private:
        ///
        docstring getCaption(OutputParams const &) const;
        ///
+       docstring getCaptionText(OutputParams const &) const;
+       ///
        InsetFloatParams params_;
        ///
        docstring name_;