+ void iterateForToc(DocIterator const & cdit, bool output_active,
+ UpdateType utype, TocBackend & backend) const;
+ /// Outputs an inset that must be first rendered (with the given options regarding outer tags).
+ void docbookRenderAsImage(XMLStream & xs, OutputParams const & rp, XHTMLOptions opts) const;
+ /// Outputs the text of the inset with the correct DocBook tags (with the given options regarding outer tags).
+ void docbookText(XMLStream & xs, OutputParams const & rp, XHTMLOptions opts) const;
+private:
+ /// Open the toc item for paragraph pit. Returns the paragraph index where
+ /// it should end.
+ pit_type openAddToTocForParagraph(pit_type pit,
+ DocIterator const & dit,
+ bool output_active,
+ TocBackend & backend) const;
+ /// Close a toc item opened in start and closed in end
+ void closeAddToTocForParagraph(pit_type start, pit_type end,
+ TocBackend & backend) const;