Hello, I have a fdf file that has commentary.
I'm using this code to merge a fdf and pdf: //pdfContent is a byte[] from a pdf file //fdfContent is a byte[] from a fdf file PdfReader reader = new PdfReader(pdfContent); ByteArrayOutputStream baos = new ByteArrayOutputStream(); PdfStamper stamper = new PdfStamper(reader, baos); FdfReader fdfReader = new FdfReader(fdfContent); stamper.getAcroFields().setFields(fdfReader); fdfReader.close(); stamper.close(); baos.flush(); baos.close(); reader.close(); byte[] filledPdf = baos.toByteArray(); the fields are updated on the final pdf, but the commentary not. Is there another method that i have to call? Thanks. -- View this message in context: http://itext-general.2136553.n4.nabble.com/FDF-Import-Commentary-tp4658954.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. 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