]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTOC.h
Typos and style.
[lyx.git] / src / insets / InsetTOC.h
index e6e932b3f1b06d0baa3aee6549f0bfe3e02a3058..ead482b2e839870ec93ed3886d12eb528669f517 100644 (file)
@@ -17,6 +17,8 @@
 
 namespace lyx {
 
+class Paragraph;
+class Toc;
 
 /// Used to insert table of contents and similar lists
 /// at present, supports only \tableofcontents and \listoflistings.
@@ -38,7 +40,8 @@ public:
        ///
        virtual void validate(LaTeXFeatures &) 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;
        ///
@@ -60,6 +63,13 @@ public:
        //@}
 
 private:
+       ///
+       void makeTOCWithDepth(XHTMLStream xs, Toc toc, const OutputParams & op) const;
+       ///
+       void makeTOCNoDepth(XHTMLStream xs, Toc toc, const OutputParams & op) const;
+       ///
+       void makeTOCEntry(XHTMLStream & xs, Paragraph const & par, OutputParams const & op) const;
+       
        /// \name Private functions inherited from Inset class
        //@{
        ///