| Package | Description |
|---|---|
| com.itextpdf.forms.fields |
| Modifier and Type | Method and Description |
|---|---|
static PdfChoiceFormField |
PdfFormCreator.createChoiceFormField(PdfDictionary dictionary)
Creates a choice form field as a wrapper object around a
PdfDictionary using provided factory. |
PdfChoiceFormField |
PdfFormFactory.createChoiceFormField(PdfDictionary dictionary)
Creates a choice form field as a wrapper object around a
PdfDictionary. |
static PdfChoiceFormField |
PdfFormCreator.createChoiceFormField(PdfDocument document)
Create a minimal, empty
PdfChoiceFormField using provided factory. |
PdfChoiceFormField |
PdfFormFactory.createChoiceFormField(PdfDocument document)
Create a minimal, empty
PdfChoiceFormField. |
static PdfChoiceFormField |
PdfFormCreator.createChoiceFormField(PdfWidgetAnnotation widget,
PdfDocument document)
Creates a choice form field as a parent of a
PdfWidgetAnnotation using provided factory. |
PdfChoiceFormField |
PdfFormFactory.createChoiceFormField(PdfWidgetAnnotation widget,
PdfDocument document)
Creates a choice form field as a parent of a
PdfWidgetAnnotation. |
PdfChoiceFormField |
ChoiceFormFieldBuilder.createComboBox()
Creates combobox form field base on provided parameters.
|
PdfChoiceFormField |
ChoiceFormFieldBuilder.createList()
Creates list form field based on provided parameters.
|
PdfChoiceFormField |
PdfChoiceFormField.setCombo(boolean combo)
If true, the field is a combo box; if false, the field is a list box.
|
PdfChoiceFormField |
PdfChoiceFormField.setCommitOnSelChange(boolean commitOnSelChange)
If true, the new value shall be committed as soon as a selection is made (commonly with the pointing device).
|
PdfChoiceFormField |
PdfChoiceFormField.setEdit(boolean edit)
If true, the combo box shall include an editable text box as well as a
drop-down list; if false, it shall include only a drop-down list.
|
PdfChoiceFormField |
PdfChoiceFormField.setIndices(PdfArray indices)
Sets the selected items in the field.
|
PdfChoiceFormField |
PdfChoiceFormField.setListSelected(int[] optionNumbers)
Highlights the options.
|
PdfChoiceFormField |
PdfChoiceFormField.setListSelected(String[] optionValues)
Highlights the options.
|
PdfChoiceFormField |
PdfChoiceFormField.setListSelected(String[] optionValues,
boolean generateAppearance)
Highlights the options and generates field appearance if needed.
|
PdfChoiceFormField |
PdfChoiceFormField.setMultiSelect(boolean multiSelect)
If true, more than one of the field's option items may be selected
simultaneously; if false, at most one item shall be selected.
|
PdfChoiceFormField |
PdfChoiceFormField.setSort(boolean sort)
If true, the field's option items shall be sorted alphabetically.
|
PdfChoiceFormField |
PdfChoiceFormField.setSpellCheck(boolean spellCheck)
If true, text entered in the field shall be spell-checked.
|
PdfChoiceFormField |
PdfChoiceFormField.setTopIndex(int index)
Sets the index of the first visible option in a scrollable list.
|
Copyright © 1998–2023 Apryse Group NV. All rights reserved.