Anyone has a answer for me?
 
Thanks,
 
Luis

 
2006/1/20, Luis Catalino <[EMAIL PROTECTED]>:
I found out that in acrobat reader 7.0.5 I have the problem i described. If i used acrobat reader 7.0.0 the problem doesn't happen! Can you tell me wath is going on!!

Thanks,
Luis Catalino

2006/1/20, Luis Catalino <[EMAIL PROTECTED]>:
Here is the pdf and the xfdf. Its attached to this e-mail. I appreciate if you could help me with this!

Luis Catalino

2006/1/19, Paulo Soares <[EMAIL PROTECTED]>:
Post the pdf and the xfdf.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto: [EMAIL PROTECTED] ] On
> Behalf Of Luis Catalino
> Sent: Thursday, January 19, 2006 3:09 PM
> To: [email protected]
> Subject: [iText-questions] Problem with combo box: in acrobat
> professional works, in reader doesn't work!
>
> Hi.
>
> I have a strange problem. I'm filling the fields of a PDF
> with an XFDF file. One of the fields is a combo box. I use
> the code below. When I open the PDF filled with the XFDF data
> in reader, the combo box appears with the first element
> selected, and not the one I choose, wich is one of  the
> others; when I open it in acrobat professional, this combo
> box appears with the correct element selected!
> Another thing. In reader, when i print the PDF, the combo box
> appears with the correct element selected! Can you help me with this?
>
> Thanks,
>
> Luis
>
>     PdfReader reader = new PdfReader(nomePDF);
>             PdfStamper stamp = null;
>             try {
>                 stamp = new PdfStamper(reader, new FileOutputStream(
>                         tmpfile));
>             } catch (Exception e) {
>                 System.out.println("Excepção setValorCampo
> "+e.getMessage());
>             }
>
>             XfdfReader fdfreader = new XfdfReader(file);
>             AcroFields form = stamp.getAcroFields ();
>             try {
>                 form.setFields(fdfreader);
>
>             } catch (Exception e) {
>                 System.out.println("Excepção setValorCampo
> "+e.getMessage());
>             }
>
>             try {
>                 stamp.close();
>             } catch (Exception e) {
>                 System.out.println("Excepção setValorCampo
> "+e.getMessage());
>             }
>
>




Reply via email to