]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.h
Get rid of regex_constants::match_partial
[lyx.git] / src / insets / InsetWrap.h
index 17e3b2b7b1d268bad4d22f50506b74ea46563e17..ce6b73eb03539cfdd0338712f5edb6afc34b64b5 100644 (file)
@@ -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 editMessage() const;
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///
        bool insetAllowed(InsetCode) const;
        ///
@@ -79,13 +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 getCaptionText(OutputParams const &) const;
-       ///
-       docstring name() const;
+       docstring layoutName() const;
        ///
        Inset * clone() const { return new InsetWrap(*this); }