X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFloat.h;h=b1500f9a0ed99d9d17ea3e0ecdf57bdd59ce2a4d;hb=d6f1915684328c6e3fe61c6eef8846b5cabec334;hp=e806d9a70980bb1ad2cfbcd928e6ac5108565ecc;hpb=f9b81e51e943bcaac885d74edbce41a9d74ad3dd;p=lyx.git diff --git a/src/insets/InsetFloat.h b/src/insets/InsetFloat.h index e806d9a709..b1500f9a0e 100644 --- a/src/insets/InsetFloat.h +++ b/src/insets/InsetFloat.h @@ -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_;