namespace lyx {
+class Paragraph;
+class Toc;
/// Used to insert table of contents and similar lists
/// at present, supports only \tableofcontents and \listoflistings.
///
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;
///
//@}
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
//@{
///