]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.h
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetWrap.h
index c2ec7d9716a3cea410d65d8b7de0dd6370d21e1f..a23944590c4eb3562e3ddac9da3d2284bc755ae3 100644 (file)
@@ -30,8 +30,12 @@ public:
        ///
        std::string type;
        ///
+       int lines;
+       ///
        std::string placement;
        ///
+       Length overhang;
+       ///
        Length width;
 };
 
@@ -66,20 +70,20 @@ public:
        ///
        bool insetAllowed(Inset::Code) const;
        ///
-       void addToToc(TocList &, Buffer const &) const;
-       ///
        bool showInsetDialog(BufferView *) const;
        ///
        InsetWrapParams 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);
        ///
        virtual docstring name() const { return name_; }
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        ///
        InsetWrapParams params_;