Hey Hua
In a radio button group you can distinguish the buttons by giving them
different values. As far as the position is concerned I've found that the
fields are retrieved in the order in which they appear on the document.
Hope this helps!!!
Zhi Ren wrote:
>
> Hi Lina,
>
> Have you found how to find which button belongs to which position in a
> radio button group? If so, could you share the code with me? Thanks a lot!
>
> Hua
>
>
> --- On Fri, 8/24/07, LinaTomy <[EMAIL PROTECTED]> wrote:
>
>> From: LinaTomy <[EMAIL PROTECTED]>
>> Subject: Re: [iText-questions] Field Postions of a Radio Button Group
>> To: [email protected]
>> Date: Friday, August 24, 2007, 1:38 PM
>> Thanks a lot
>> I did check the source code and it seems like the
>> co-ordinates are retrieved
>> in the order in which the values are retrieved.
>>
>>
>> Paulo Soares wrote:
>> >
>> > That's a good question but there's no way to
>> do it with
>> > getFieldPositions().
>> > The best way is to copy the source of the
>> getFieldPositions() method and
>> > check the value when creating the array.
>> >
>> > Paulo
>> >
>> > ----- Original Message -----
>> > From: "LinaTomy" <[EMAIL PROTECTED]>
>> > To: <[email protected]>
>> > Sent: Friday, August 24, 2007 6:17 PM
>> > Subject: [iText-questions] Field Postions of a Radio
>> Button Group
>> >
>> >
>> >>
>> >> I have a radio button group having different Radio
>> buttons with the same
>> >> name
>> >> and different values. When I try to get the field
>> positions using
>> >> getFieldPositions() of AcroFields, i get a float[]
>> with the co-ordinates
>> >> for
>> >> all the radio buttons, but i can't say which
>> one belongs to a particular
>> >> value since all have the same name.
>> >>
>> >> Is there a way to find out?
>> >>
>> >> Thanks in advance :-)
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Field-Postions-of-a-Radio-Button-Group-tf4324744.html#a12316484
>> >> Sent from the iText - General mailing list archive
>> at Nabble.com.
>> >>
>> >>
>> >>
>> -------------------------------------------------------------------------
>> >> 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/
>> >
>> >
>> >
>> -------------------------------------------------------------------------
>> > 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/
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Field-Postions-of-a-Radio-Button-Group-tf4324744.html#a12317758
>> Sent from the iText - General mailing list archive at
>> Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> 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/
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
>
>
--
View this message in context:
http://www.nabble.com/Field-Postions-of-a-Radio-Button-Group-tp12316484p19636052.html
Sent from the iText - General mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php