]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.h
Better TOC output for XHTML, per Rob and Pavel.
[lyx.git] / src / insets / InsetWrap.h
index e7c316c42a762fcce32fdd61e0c179022b2cb615..bdd084b0ef98cfaaaf89d72ad8a5e15cab6132b4 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,15 +65,13 @@ 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 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 +79,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); }