Your pdf has fields. Flatten it first before concatenating them.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Ben Zahler
> Sent: Friday, September 28, 2007 12:58 PM
> To: [email protected]
> Subject: [iText-questions] merging old Pdfs (Version 1.3)
>
> Hi all,
>
> I have a problem with old pdfs that are merged into
> one document with iText.
>
> Attached, you find the code used to merge the
> documents.
>
>
> Very strange is the influence of the lines below:
>
> PRAcroForm form = pdfReader.getAcroForm();
> if (form != null) {
> pdfCopy.copyAcroForm(pdfReader);
> }
>
> Depending whether they in the code, the first or the
> second page is not displayed. However, never both
> pages are displayed.
>
> Attached is also a modified version of the pdf, the
> original contains sensitive data. Since I modified the
> file in Notepad, the file is not valid PDF anymore and
> Acrobat Reader gives an error msg when opening it, but
> the effect can still be seen.
>
> I have tested the integrity of the original pdf with a
> tool called multivalent and everything seems to be ok,
> but of course I do not know whether I can trust this
> tool.
>
> thanks for any help
>
> Ben
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/