]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloat.h
Remove all BufferParam arguments in InsetXXX methods (since insets know about their...
[lyx.git] / src / insets / InsetFloat.h
index 604f5b9b4bc37c49d8263bc76f2f323c3caf932f..9ef3dcd9a98c64d25dd7a37eb90e9010bbb5fd59 100644 (file)
@@ -4,8 +4,8 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Jürgen Vigna
- * \author Lars Gullik Bjønnes
+ * \author Jürgen Vigna
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -30,7 +30,7 @@ public:
        std::string type;
        ///
        std::string placement;
-       ///
+       /// span columns
        bool wide;
        ///
        bool sideways;
@@ -60,16 +60,18 @@ public:
        ///
        static std::string params2string(InsetFloatParams const &);
        ///
-       void setWide(bool w, BufferParams const &);
+       void setWide(bool w, bool update_label = true);
+       ///
+       void setSideways(bool s, bool update_label = true);
        ///
-       void setSideways(bool s, BufferParams const &);
+       void setSubfloat(bool s, bool update_label = true);
        ///
-       void setSubfloat(bool s, BufferParams const &);
+       void setNewLabel();
        ///
        InsetFloatParams const & params() const { return params_; }
 private:
        ///
-       docstring name() const { return name_; }
+       docstring name() const;
        ///
        docstring toolTip(BufferView const & bv, int x, int y) const;
        ///
@@ -87,6 +89,8 @@ private:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
+       docstring xhtml(odocstream &, OutputParams const &) const;
+       ///
        docstring editMessage() const;
        ///
        bool insetAllowed(InsetCode) const;
@@ -107,8 +111,6 @@ private:
        ///
        docstring getCaption(OutputParams const &) const;
        ///
-       docstring getCaptionText(OutputParams const &) const;
-       ///
        InsetFloatParams params_;
        ///
        docstring name_;