The problem here is that you have a /I key in the annotation. This key represents the selection index but the /V key takes precedence if both exists. This is what the pdf reference says but in practice is not happening. iText only changes the /V key. I'll have to change the code either to remove /I or put a sensible value in it.
 
Best Regards,
Paulo Soares


From: Pelle [mailto:[EMAIL PROTECTED]
Sent: Monday, May 24, 2004 4:09 PM
To: Paulo Soares
Subject: RE: [iText-questions] Comboboxes

Hi Paulo,
when I the merge_fdf.java example and it sets the export value (instead of the display value) in the combofield and then when you click on the field it changes back to the display value of the first option in the list. 
 
I have attached a zip file containing the original pdf (form_combo.pdf), the fdf file (form_combo.fdf) and the merged pdf file (form_combom.pdf).
 
When you open form_combom.pdf the value is set to Green but when you click in the field it changes to red.
 
Can you have a look at this problem?
 
Thanks
/Pelle
 


Do you Yahoo!?
Yahoo! Domains - Claim yours for only $14.70/year

Reply via email to