pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al Grant <bigal...@gmail.com>
Subject Re: Fields and "]" + Checkboxes
Date Thu, 10 Mar 2016 18:03:59 GMT
Andreas,

I have read your reply now.

So is there a method that gets the value without the braces or do I have to
handle it progmatically?

Cheers

-AL


On Thu, Mar 10, 2016 at 11:58 AM, Al Grant <bigal.nz@gmail.com> wrote:

> Thanks Andreas.
>
> On Wed, Mar 9, 2016 at 8:03 PM, Andreas Lehmkühler <andreas@lehmi.de>
> wrote:
>
>> Hi,
>>
>> > Al Grant <bigal.nz@gmail.com> hat am 8. März 2016 um 18:57 geschrieben:
>> >
>> >
>> > Morning All,
>> >
>> > I have been writing some Java with PDFBox for a few weeks now. Its been
>> > very good so far.
>> >
>> > My goal is to loop through all the fields in a form, grab the values and
>> > write the value to a corresponding field in a DB. By and large I have
>> this
>> > working.
>> >
>> > I however have two questions:
>> >
>> > 1. When importing the value of a combobox I am getting the value
>> enclosed
>> > in square braces. Anyone know why - or do I need to handle this
>> > progmatically?
>> getValue provides a list of strings as return value which leads to the
>> described
>> string presentation with square braces. That list contains the selected
>> value or
>> several values if multiselect is allowed and more than one value is
>> selected.
>>
>> > 2. The code so far loops through all the fields and grabs strings - but
>> I
>> > am not sure how to handle exclusive checkboxes (ie only one value
>> selected
>> > allowed).
>> I didn't get your point, but hopefully my answer to your first question
>> answers
>> this one too? ;-)
>>
>> > Cheers
>> >
>> > -Al
>> >
>> >
>> > --
>> > "Beat it punk!"
>> > - Clint Eastwood
>>
>>
>> BR
>> Andreas
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>
>>
>
>
> --
> "Beat it punk!"
> - Clint Eastwood
>
>



-- 
"Beat it punk!"
- Clint Eastwood

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message