Thomas McKay writes: > > > -----Original Message----- > From: Thomas McKay [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 05, 2002 11:43 AM > To: iText > Subject: internal representation of pdf document? > > > Am I missing something or is there no internal representation of the data > contained in the document? > > It seems that the document never actually exists in memory but rather a > listener is registered and this listener controls the internal storage of > the document's contents. In the case of the XmlWriter and the PdfWriter > there is no internal storage but is just written to disk. True?
In HTML and XML, every iText object such as a Chunk, Phrase, Paragraph,... is written to the OutputStream AS SOON AS POSSIBLE (at the moment you add it to the document and the document passes it to its listener). In PDF, as soon as a page is completed it is sent to the OutputStream. The same goes for images, fonts,... but not for PdfTemplates. _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
