I checked, and the form fields are created as visible. Do I need to also set
them to visible through iText??
If the book can help with this I will wait for it, it will take around ten days
to arrive. But if it can't help with this issue plz let me know so I can work
on it in the mean time.
Thank you for your time.
Mira Al Arab.> From: [EMAIL PROTECTED]> To:
[email protected]> Date: Fri, 24 Aug 2007 14:56:22 +0100>
Subject: Re: [iText-questions] Flattening combo boxes> > iText can fill forms
created by anything. Even the form you created works > correctly, the reason it
doesn't flatten is that you created it as "visible > but don't print".> >
Paulo> > ----- Original Message ----- > From: "Mira Al Arab" <[EMAIL
PROTECTED]>> To: "Post all your questions about iText here" >
<[email protected]>> Sent: Friday, August 24, 2007 1:50 PM>
Subject: Re: [iText-questions] Flattening combo boxes> > > > To. Mr. Soares,> >
That will not help because eventually I will need to fill in forms created > by
other tools not ones I create through iText.> > > I tried the same code for pdf
Forms I generated using a tool called PDFill > and the same thing is happening
when I flatten the forms.> > Also, my company will (or has already) order the
book for me so hopefully I > will have it very soon.> > Mira Al Arab.> > From:
[EMAIL PROTECTED]> To: [email protected]> > > Date: Fri, 24
Aug 2007 13:37:54 +0100> Subject: Re: [iText-questions] > > Flattening combo
boxes> > Create the combo using TextField. The tutorial > > is outdated and
this is > described in the book.> > Paulo> > ----- > > Original Message ----- >
From: "Mira Al Arab" <[EMAIL PROTECTED]>> > > To:
<[email protected]>> Sent: Friday, August 24, 2007 > > 9:36
AM> Subject: [iText-questions] Flattening combo boxes> > > > Hello > > all, I
am new to iText and am facing a problem when filling a form. > > > First, the
form is created using the example in the online tutorial. It > > > creates a
combo box with three values ('Red', 'Green', 'Blue' ). The exact > > > code is
in the example: com.lowagie.examples.forms.FormCombo You get the > > > attached
form: combo.pdf Then code to select the value from the combo > > box is >
written and the form is flattened.> PdfReader reader = new > > PdfReader(
'combo.pdf');> PdfStamper chooser = new PdfStamper( reader, new > > >
FileOutputStream('combo_selected.pdf'));> > AcroFields fields = > >
chooser.getAcroFields();> > > > fields.setField( 'ACombo', 'Blue' );> > > >
chooser.setFormFlattening( true ); chooser.close(); This result is a > > > form
with nothing on it: the attached form combo_selected.pdf I checked > > the >
mailing lists but couldn't find anything that would explain this > > behaviour.
> I tried on both iText 1.5.3 and iText 2.0.4. Thankyou in > > advance for your
> time. Mira Al Arab.> > > > >
-------------------------------------------------------------------------> > >
This SF.net email is > > >
-------------------------------------------------------------------------> This
SF.net email is sponsored by: Splunk Inc.> Still grepping through log files to
find problems? Stop.> Now Search log events and configuration files using AJAX
and a browser.> Download your FREE copy of Splunk now >>
http://get.splunk.com/> _______________________________________________>
iText-questions mailing list> [email protected]>
https://lists.sourceforge.net/lists/listinfo/itext-questions> Buy the iText
book: http://itext.ugent.be/itext-in-action/
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/