I'm an iText newbie. I'm using the Section class, and have run into the memory problems mentioned in the book. I have two questions.
First, is there a near-term workaround, similar to the one used to control the size of a PdfTable? Secondly, in the long term, could the Section class be implemented to have an interface more similar to the Document class? By that I mean something like this: Section s = document.createSection(); s.setTitle("Title"); s.setBookmarkTitle("Bookmark"); s.open(); document.add(new Paragraph("This is content of the current section."); s.close(); It seems to me if the section interface was more like this, it would still be possible to flush element contents to the output stream as you go, just like when not using sections. It would require the document to push indentation and possibly other settings onto a stack when you open a section, and pop them off when you close it. I looked around in the code, and I didn't see anything that would obviously prevent this approach (though as I mentioned, I'm just a newbie...) Kris Raney [EMAIL PROTECTED] ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/