Ok, I am a little bit of an idiot.  I did find how to search the list, and saw 
that this question has come up quite frequently.

However, I did not really understand the answer.  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.  Am I 
understanding this correctly?  Are there ways to limit the amount of memory 
required, e.g. by flushing to the stream at an earlier time?

Thanks for any advice.




-------------------------------------------------------
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