X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetWrap.h;h=ce6b73eb03539cfdd0338712f5edb6afc34b64b5;hb=dae8555234f0e5c8358b91c307d91b219c664617;hp=2b6c8b7a03949829c408175a8d4b87bbd3d4a390;hpb=78c45693ef3f99a7671443238b448f4a69fd7717;p=lyx.git diff --git a/src/insets/InsetWrap.h b/src/insets/InsetWrap.h index 2b6c8b7a03..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,13 +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 xhtml(XHTMLStream &, OutputParams const &) const; /// bool insetAllowed(InsetCode) const; /// @@ -79,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); }