| Package | Description |
|---|---|
| com.itextpdf.forms | |
| com.itextpdf.forms.fields |
| Modifier and Type | Method and Description |
|---|---|
Set<AbstractPdfFormField> |
PdfAcroForm.getAllFormFieldsAndAnnotations()
Gets all
form fields as a Set including fields kids and nameless fields. |
| Modifier and Type | Class and Description |
|---|---|
class |
PdfButtonFormField
An interactive control on the screen that raises events and/or can retain data.
|
class |
PdfChoiceFormField
An AcroForm field type representing any type of choice field.
|
class |
PdfFormAnnotation
This class represents a single annotation in form fields hierarchy in an
AcroForm. |
class |
PdfFormField
This class represents a single field or field group in an
AcroForm. |
class |
PdfSignatureFormField
An AcroForm field containing signature data.
|
class |
PdfTextFormField
An AcroForm field containing textual data.
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractPdfFormField |
PdfFormField.makeFormFieldOrAnnotation(PdfObject pdfObject,
PdfDocument document)
|
AbstractPdfFormField |
AbstractPdfFormField.put(PdfName key,
PdfObject value)
Inserts the value into the
PdfDictionary of this field and associates it with the specified key. |
AbstractPdfFormField |
AbstractPdfFormField.remove(PdfName key)
Removes the specified key from the
PdfDictionary of this field. |
AbstractPdfFormField |
AbstractPdfFormField.setColor(Color color)
Sets the text color and regenerates appearance stream.
|
AbstractPdfFormField |
PdfFormField.setColor(Color color)
Sets the text color and regenerates appearance stream.
|
AbstractPdfFormField |
AbstractPdfFormField.setFont(PdfFont font)
Basic setter for the
font property. |
AbstractPdfFormField |
AbstractPdfFormField.setFontAndSize(PdfFont font,
float fontSize)
Combined setter for the
font and fontSize
properties. |
AbstractPdfFormField |
AbstractPdfFormField.setFontSize(float fontSize)
Basic setter for the
fontSize property. |
AbstractPdfFormField |
AbstractPdfFormField.setFontSize(int fontSize)
Basic setter for the
fontSize property. |
AbstractPdfFormField |
AbstractPdfFormField.setFontSizeAutoScale()
Sets zero font size which will be interpreted as auto-size according to ISO 32000-1, 12.7.3.3.
|
| Modifier and Type | Method and Description |
|---|---|
List<AbstractPdfFormField> |
PdfFormField.getAllChildFields()
Gets all childFields of this object, including the children of the children.
|
List<AbstractPdfFormField> |
PdfFormField.getChildFields()
Gets the childFields of this object.
|
| Modifier and Type | Method and Description |
|---|---|
PdfFormField |
PdfFormField.addKid(AbstractPdfFormField kid)
Adds a new kid to the
Kids array property from a
AbstractPdfFormField. |
PdfFormField |
PdfButtonFormField.addKid(AbstractPdfFormField kid)
Adds a new kid to the
Kids array property from a
AbstractPdfFormField. |
PdfFormField |
PdfFormField.addKid(AbstractPdfFormField kid,
boolean throwExceptionOnError)
Adds a new kid to the
Kids array property from a
AbstractPdfFormField. |
static String |
PdfFormFieldMergeUtil.getPartialName(AbstractPdfFormField field)
Gets partial name for the field dictionary.
|
void |
PdfFormField.removeChild(AbstractPdfFormField fieldName)
Removes the childField object of this field.
|
Copyright © 1998–2025 Apryse Group NV. All rights reserved.