X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetWrap.h;h=ce6b73eb03539cfdd0338712f5edb6afc34b64b5;hb=dae8555234f0e5c8358b91c307d91b219c664617;hp=e7c316c42a762fcce32fdd61e0c179022b2cb615;hpb=3b707bc0eddbd11efd0d33ce67a316ff68364b2a;p=lyx.git diff --git a/src/insets/InsetWrap.h b/src/insets/InsetWrap.h index e7c316c42a..ce6b73eb03 100644 --- a/src/insets/InsetWrap.h +++ b/src/insets/InsetWrap.h @@ -44,7 +44,7 @@ public: class InsetWrap : public InsetCollapsable { public: /// - InsetWrap(Buffer const &, std::string const &); + InsetWrap(Buffer *, std::string const &); /// ~InsetWrap(); /// @@ -65,15 +65,14 @@ private: /// docstring toolTip(BufferView const & bv, int x, int y) const; /// - int latex(odocstream &, OutputParams const &) const; + void latex(otexstream &, OutputParams const &) const; /// - int plaintext(odocstream &, OutputParams const &) const; + int plaintext(odocstringstream & ods, OutputParams const & op, + size_t max_length = INT_MAX) const; /// 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,11 +80,11 @@ 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 name() const; + docstring layoutName() const; /// Inset * clone() const { return new InsetWrap(*this); }