Package | Description |
---|---|
com.itextpdf.forms.fields |
Modifier and Type | Method and Description |
---|---|
static PdfChoiceFormField |
PdfFormField.createChoice(PdfDocument doc, int flags)
Creates an empty choice form field .
|
static PdfChoiceFormField |
PdfFormField.createChoice(PdfDocument doc, int flags, PdfAConformanceLevel pdfAConformanceLevel)
Creates an empty choice form field .
|
static PdfChoiceFormField |
PdfFormField.createChoice(PdfDocument doc, Rectangle rect, int flags)
Creates an empty choice form field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createChoice(PdfDocument doc, Rectangle rect, String name, String value, PdfArray options, int flags)
Creates a choice form field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createChoice(PdfDocument doc, Rectangle rect, String name, String value, PdfArray options, int flags, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
Creates a choice form field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createChoice(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, PdfArray options, int flags)
Creates a choice form field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createChoice(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, PdfArray options, int flags, PdfAConformanceLevel pdfAConformanceLevel)
Creates a choice form field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createComboBox(PdfDocument doc, Rectangle rect, String name, String value, String[] options)
Creates a combobox with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createComboBox(PdfDocument doc, Rectangle rect, String name, String value, String[][] options)
Creates a combobox with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createComboBox(PdfDocument doc, Rectangle rect, String name, String value, String[][] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
Creates a combobox with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createComboBox(PdfDocument doc, Rectangle rect, String name, String value, String[] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
Creates a combobox with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createList(PdfDocument doc, Rectangle rect, String name, String value, String[] options)
Creates a list field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createList(PdfDocument doc, Rectangle rect, String name, String value, String[][] options)
Creates a list field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createList(PdfDocument doc, Rectangle rect, String name, String value, String[][] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
Creates a list field with custom behavior and layout, on a specified location.
|
static PdfChoiceFormField |
PdfFormField.createList(PdfDocument doc, Rectangle rect, String name, String value, String[] options, PdfFont font, PdfAConformanceLevel pdfAConformanceLevel)
Creates a list field with custom behavior and layout, on a specified location.
|
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–2021 iText Group NV. All rights reserved.