Jason Frank wrote:

The main suggestion that I saw was to put the table of contents at the end of the document, and then rearrange the pages to put it at the beginning once you are done. This implies to me that things are not being written to the output stream "as you go", but instead are saved up in memory and then flushed to the stream at some later time, perhaps when the document is closed. For a large document, this could be problematic, because everything has to fit in memory at once.

There is more than one way to do this.
For a large report, I would write the content to one file and the ToC to another one. Afterwards, you can concatenate both files.
br,
Bruno


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to