PdfStamperImp has code that may help you to copy the fields. Look for the comment import from FDF.
Paulo > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Leonard Rosenthol > Sent: Tuesday, June 13, 2006 10:19 PM > To: [EMAIL PROTECTED] > Cc: Post all your questions about iText here > Subject: Re: [iText-questions] Get Field Background Color > > At 05:01 PM 6/13/2006, Nick Darnell wrote: > >Hmm, well perhaps you can clear up what I am missing here. > I was able to > >copy a field earlier, same page, name, dimensions, no > problem. When I > >finally got the BG and saved it to the dictionary I was able > to generate a > >PDF that had a field with a red background. However, adobe > only reported > >the color to be red. > > Right - because you didn't copy the APPEARANCE(S) of the > Annot - see /AP dictionary of an annotation. > > > Leonard 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.
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
