|
Flattening only works with
appearances and your file only has the fields filled and no
appearances. From: Dan Chen [mailto:[EMAIL PROTECTED] Sent: Fri 03-Dec-04 20:38 To: Paulo Soares; [EMAIL PROTECTED] Subject: RE: [iText-questions] Bold font changed to plain font after flattening Paulo,
In the sample code I sent to you, if I comment out the following lines in method mergePDFAndFDF(…) //FdfReader fdfReader = new FdfReader(fdf); //AcroFields form = stamp.getAcroFields(); //orm.setFields(fdfReader);
That means I don’t need to fill the fields with data from FDF, but I still want to flatten the fields. (in case I need to concat multiple PDF files which have same field name on them) The fields all disappear in the output file. What is correct way to flatten the fields without merging FDF data?
Thanks.
Dan
-----Original
Message-----
It's a semi-bug. If you take your pdf and do a "save as" in Acrobat then the field merge and flattening will work correctly. In any case I've changed iText to support this kind of PDF. If you have urgency I can send you the changed source file.
Best Regards, Paulo Soares
|
- RE: [iText-questions] Bold font changed to plain font af... Paulo Soares
- RE: [iText-questions] Bold font changed to plain fo... Dan Chen
- RE: [iText-questions] Bold font changed to plain fo... Paulo Soares
- RE: [iText-questions] Bold font changed to plai... Leonard Rosenthol
- RE: [iText-questions] Bold font changed to plain fo... Dan Chen
- RE: [iText-questions] Bold font changed to plain fo... Paulo Soares
- RE: [iText-questions] Bold font changed to plain fo... Dan Chen
