]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.h
InsetBox.cpp: only shaded boxes can have multiple paragraphs when there is no inner box
[lyx.git] / src / insets / InsetWrap.h
index aa21ebf4cf4592030e0e8fd23d975ad296e58ff7..b1539fc971fe5c294dd97acbf272ee3f939d4c38 100644 (file)
@@ -44,7 +44,7 @@ public:
 class InsetWrap : public InsetCollapsable {
 public:
        ///
-       InsetWrap(Buffer const &, std::string const &);
+       InsetWrap(Buffer *, std::string const &);
        ///
        ~InsetWrap();
        ///
@@ -71,9 +71,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;
        ///
@@ -81,12 +79,10 @@ private:
        ///
        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);
        ///
-       docstring getCaptionText(OutputParams const &) const;
-       ///
        docstring name() const;
        ///
        Inset * clone() const { return new InsetWrap(*this); }