]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloat.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetFloat.h
index febbc1dd213491f3872af975d6c0a4e17445be83..841e1d7fc96f0161108839b82fa06490dcd23ec9 100644 (file)
@@ -59,8 +59,6 @@ public:
        ///
        Inset::Code lyxCode() const { return Inset::FLOAT_CODE; }
        ///
-       virtual bool wide() const { return false; }
-       ///
        int latex(Buffer const &, odocstream &,
                  OutputParams const &) const;
        ///
@@ -82,18 +80,18 @@ public:
        ///
        void sideways(bool s, BufferParams const &);
        ///
-       void addToToc(TocList &, Buffer const &) const;
-       ///
        bool  showInsetDialog(BufferView *) const;
        ///
        InsetFloatParams const & params() const { return params_; }
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       // Update the counters of this inset and of its contents
+       virtual void updateLabels(Buffer const &, ParIterator const &);
 protected:
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
        ///
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        InsetFloatParams params_;
        ///