Op 5/01/2011 7:29, Keith D. Moore schreef: > However, I would still like to add other elements to the document > (i.e. paragraphs, etc). It looks like the PdfStamper.getPdfDocument() > method is not exposed for me to do this. Regardless of the Reader enabling: it is NEVER possible to get a Document object from a PdfStamper object. And even if you were able to do this, you'd get a PdfDocument object, not a Document object to which you can add objects with Document.add().
Adding content to an existing PDF is done with PdfStamper.getOverContent() and PdfStamper.getUnderContent(). If you want to add Paragraphs, and so on, you need to use ColumnText. ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
