Have a look at
http://thread.gmane.org/gmane.comp.java.lib.itext.general/13984.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of John Wilson
> Sent: Tuesday, February 22, 2005 7:26 PM
> To: <[email protected]> 
> <[email protected]>
> Subject: [iText-questions] Problems with filling in forms 
> created with Acrobat Designer 7
> 
> Hi!
> 
> I have a test program which fills in all the fields in a PDF form. I 
> developed it against some US tax forms and it works perfectly. I have 
> just made a form using Acrobat Designer 7 by importing a Word 
> document 
> as the template and adding the fields by hand. The program 
> doesn't work 
> with this form. I have discovered the following facts:
> 
> The program correctly finds the right number of fields but the 
> getName() function returns a rather odd name. It looks like 
> it might be 
> UTF16 encoded Unicode where every byte has been cast to a char.
> 
> Using the name in a setField call does not set the field value.
> 
> When the resulting pdf document is opened in the Acrobat reader I get 
> an "Expected a dict object" error but the document displays OK (other 
> than there being no data in the fields).
> 
> I'm guessing that the V7 form is returning Unicode names and the 
> earlier version is returning some 8 bit encoding.
> 
> I would be happy to send a working example of the code and 
> the forms to 
> anybody who can help with this.
> 
> John Wilson
> The Wilson Partnership
> http://www.wilson.co.uk
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to