]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTOC.h
Improve handling of top and bottom margin
[lyx.git] / src / insets / InsetTOC.h
index 4d48c3220f5ce40acf031689966539ca7290e3c0..4b92e329a2ec95f86d91f146f05e0122b0e875e7 100644 (file)
@@ -37,16 +37,16 @@ public:
        ///
        docstring layoutName() const;
        ///
-       DisplayType display() const { return AlignCenter; }
+       RowFlags rowFlags() const { return Display; }
        ///
        virtual void validate(LaTeXFeatures &) const;
        ///
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       int docbook(odocstream &, OutputParams const &) const;
+       void docbook(XMLStream &, OutputParams const &) const;
        ///
-       docstring xhtml(XHTMLStream & xs, OutputParams const &) const;
+       docstring xhtml(XMLStream & xs, OutputParams const &) const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
@@ -65,11 +65,11 @@ public:
 
 private:
        ///
-       void makeTOCWithDepth(XHTMLStream & xs, Toc const & toc, const OutputParams & op) const;
+       void makeTOCWithDepth(XMLStream & xs, Toc const & toc, const OutputParams & op) const;
        ///
-       void makeTOCNoDepth(XHTMLStream & xs, Toc const & toc, const OutputParams & op) const;
+       void makeTOCNoDepth(XMLStream & xs, Toc const & toc, const OutputParams & op) const;
        ///
-       void makeTOCEntry(XHTMLStream & xs, Paragraph const & par, OutputParams const & op) const;
+       void makeTOCEntry(XMLStream & xs, Paragraph const & par, OutputParams const & op) const;
 
        /// \name Private functions inherited from Inset class
        //@{