On Fri, 17 May 2013 19:01:51 +0200, Andre Mariano <andre.smarian...@gmail.com> wrote:

the problem is when I use the PDFCopy.

I wrote a small PoC using PdfCopyFields:

PdfReader reader = new PdfReader("document_orig.pdf");
PdfCopyFields copyfields = new PdfCopyFields(new FileOutputStream("document_copyfields.pdf"));
copyfields.addDocument(reader);
copyfields.close();

It works perfectly. See attachment.

The problem is indeed THAT you use PdfCopy in spite of the fact that, according to the documentation, you shouldn't.

Attachment: document_copyfields.pdf
Description: Adobe PDF document

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
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

Reply via email to