itext-questions  

Re: [iText-questions] Combobox printed, prints undesired value

Bruno Lowagie
Sat, 28 Jun 2008 02:38:24 -0700

[EMAIL PROTECTED] wrote:
> -------------- Original message ----------------------
> From: [EMAIL PROTECTED]
> <snip>
>> [Note to Bruno: There appear to be two identical entries in the 
>> documentation of 
>> PdfAcroForm for "addComboBox". Is this a redundancy, or is there another 
>> variation, which was not entered in the documentation?]
> <snip>
> 
> Bruno/Paulo, I noted the same apparent redundancy in the PdfFormField 
> documentation for method addCombo.

The first method takes a one-dimensional array String[] options;
the second one a two-dimensional array String[][] options.

In HTML speak, it's the difference between
<option>Dutch and <option value="NL">Dutch

I still have to update the javadoc information ;-)
br,
Bruno

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar