Antw: how to preselect a combo box item
- From: "Paulo Soares" <psoares (at) consiste.pt>
- Date: Mon, 6 Feb 2006 15:09:13 -0000
This is actually a bug/feature of the readers. The PDF reference says
that if you have a /V and a /I key in the annotation the /V wins.
Apparently it's not so. The fix is in the CVS.
Paulo
> -----Original Message-----
> From: Igor Kostic [mailto:Igor.Kostic (at) oenb.at]
> Sent: Monday, February 06, 2006 1:04 PM
> To: Paulo Soares
> Subject: Antw: Re: [iText-questions] how to preselect a combo box item
>
> I'm sending you a simplified example.
> In spite of changing selection in stamper - the selection originated
> from reader is not realy changed.
>
>
>
> >>> "Paulo Soares" <psoares (at) consiste.pt> 02.02.2006 21:35 >>>
> I'll have to look at the pdf and the values you are setting.
>
> ----- Original Message -----
> From: "Igor Kostic" <Igor.Kostic (at) oenb.at>
> To: <itext-questions (at) lists.sourceforge.net>
> Sent: Thursday, February 02, 2006 5:17 PM
> Subject: [iText-questions] how to preselect a combo box item
>
>
> >I have a combobox with item/exportValue pairs.
> > I am trying to preselect an item using:
> >
> > AcroFields flds = stamp.getAcroFields();
> > flds.setField(comboBoxName, itemExportValue);
> > stamp.close();
> >
> > after opening this document in AR the item seems to be selected, but
> > actualy is not - if the combobox gets focus, the selection is gone.
> > Am I doing something wrong?
> >
> > Thanks,
> > Igor
> >
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions