]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloat.h
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetFloat.h
index a5ea2ef64f85f7c2a8df0ed6fd1a163a0801032e..cc1e066588e5474828c9596e81351efc0d7f3371 100644 (file)
@@ -51,22 +51,20 @@ class InsetFloat : public InsetCollapsable
 {
 public:
        ///
-       InsetFloat(Buffer const &, std::string const &);
-       ///
-       ~InsetFloat();
+       InsetFloat(Buffer * buffer, std::string params_str);
 
        ///
        static void string2params(std::string const &, InsetFloatParams &);
        ///
        static std::string params2string(InsetFloatParams const &);
        ///
-       void setWide(bool w, BufferParams const &, bool update_label = true);
+       void setWide(bool w, bool update_label = true);
        ///
-       void setSideways(bool s, BufferParams const &, bool update_label = true);
+       void setSideways(bool s, bool update_label = true);
        ///
-       void setSubfloat(bool s, BufferParams const &, bool update_label = true);
+       void setSubfloat(bool s, bool update_label = true);
        ///
-       void setNewLabel(BufferParams const &);
+       void setNewLabel();
        ///
        InsetFloatParams const & params() const { return params_; }
 private:
@@ -89,9 +87,7 @@ private:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
-       docstring xhtml(odocstream &, OutputParams const &) const;
-       ///
-       docstring editMessage() const;
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///
        bool insetAllowed(InsetCode) const;
        /** returns true if, when outputing LaTeX, font changes should
@@ -99,11 +95,9 @@ private:
            insets that may contain several paragraphs */
        bool noFontChange() const { return true; }
        ///
-       bool showInsetDialog(BufferView *) const;
-       ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        // Update the counters of this inset and of its contents
-       void updateLabels(ParIterator const &);
+       void updateBuffer(ParIterator const &, UpdateType);
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
@@ -112,8 +106,6 @@ private:
        docstring getCaption(OutputParams const &) const;
        ///
        InsetFloatParams params_;
-       ///
-       docstring name_;
 };