It must be done in the library but you can reread the assembled pdf and place 
the flags with PdfReader/PdfStamper. Not elegant but it will work.

Paulo

________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Sent: Monday, September 22, 2008 2:53 PM
To: Post all your questions about iText here
Cc: Post all your questions about iText here
Subject: Re: [iText-questions] PdfCopyFields breaking Signature Panel?


Thanks Paulo.

Is there something I need to do in my code to make that happen?  Or is this 
something that should be updated in the iText library (I am willing to submit a 
patch if I can find the spot where this is supposed to happen).

Jeff





From:   "Paulo Soares" <[EMAIL PROTECTED]>
To:     "Post all your questions about iText here" 
<[email protected]>
Date:   09/21/2008 10:55 AM
Subject:        Re: [iText-questions] PdfCopyFields breaking Signature Panel?

________________________________



Looks like the sig flags are not put in the acro fields dictionary.

Paulo

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
<[email protected]>
Cc: "Post all your questions about iText here"
<[email protected]>;
<[EMAIL PROTECTED]>
Sent: Thursday, September 18, 2008 5:36 PM
Subject: Re: [iText-questions] PdfCopyFields breaking Signature Panel?



The signature field should be visible in the panel.  It is visible in the
non-merged version of the document.  Also, if I use the PdfCopy (with the
copyAcroForm() method), the signature field will be visible in the panel.




From:   Paulo Soares <[EMAIL PROTECTED]>
To:     Post all your questions about iText here
<[email protected]>
Date:   09/18/2008 11:28 AM
Subject:        Re: [iText-questions] PdfCopyFields breaking Signature
Panel?

________________________________



I don't understand your problem. I can see the signature field in the merged
doc with Reader 8 and 9. I can sign it and see the signature. The signature
doesn't show in the panel because it's the Reader and the form is not
enabled. All is as expected.

Paulo

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: Thursday, September 18, 2008 4:40 PM
> To: [email protected]
> Subject: [iText-questions] PdfCopyFields breaking Signature Panel?
>
>
> I have two PDF documents that I want to concatenate - a
> "cover page" document and a "detail" document.  The "cover
> page" document contains a signature field.
>
> Before merging the two documents, I can see the signature
> field in the cover page on the Signature Panel in Acrobat
> Reader (version 8).  After merging the documents (using the
> code below), the signature field is still visible in the
> merged document, and I can sign the merged document using
> iText, but I can no longer see the signature fields in the
> merged document's Signature Panel within Acrobat Reader.  I
> am wondering if I am missing something in my code.
>
> I have attached the "cover page", "detail", and "merged" pdf's.
>
> Any help is appreciated.
>
>
> Code used to merge the documents:
>
> PdfCopyFields copy = new PdfCopyFields(new
> FileOutputStream("c:/merged.pdf"));
> copy.open();
> copy.addDocument(new PdfReader("c:/cover.pdf"));
> copy.addDocument(new PdfReader("c:/detail.pdf"));
> copy.close();


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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to