| Package | Description |
|---|---|
| com.itextpdf.forms | |
| com.itextpdf.forms.fields | |
| com.itextpdf.forms.xfa |
| Modifier and Type | Method and Description |
|---|---|
static PdfAcroForm |
PdfAcroForm.getAcroForm(PdfDocument document,
boolean createIfNotExist)
Retrieves AcroForm from the document.
|
static PdfAcroForm |
PdfAcroForm.getAcroForm(PdfDocument document,
boolean createIfNotExist,
OnDuplicateFormFieldNameStrategy onDuplicateFieldNameStrategy)
Retrieves AcroForm from the document.
|
PdfAcroForm |
PdfAcroForm.put(PdfName key,
PdfObject value)
Put a key/value pair in the dictionary and overwrite previous value if it already exists.
|
PdfAcroForm |
PdfAcroForm.setCalculationOrder(PdfArray calculationOrder)
Sets the
CO array property on the AcroForm. |
PdfAcroForm |
PdfAcroForm.setDefaultAppearance(String appearance)
Sets the
DA String property on the AcroForm. |
PdfAcroForm |
PdfAcroForm.setDefaultJustification(int justification)
Sets the
Q integer property on the AcroForm. |
PdfAcroForm |
PdfAcroForm.setDefaultResources(PdfDictionary defaultResources)
Sets the
DR dictionary property on the AcroForm. |
PdfAcroForm |
PdfAcroForm.setNeedAppearances(boolean needAppearances)
Sets the
NeedAppearances boolean property on the AcroForm. |
PdfAcroForm |
PdfAcroForm.setSignatureFlag(int sigFlag)
Changes the
SigFlags integer property on the AcroForm. |
PdfAcroForm |
PdfAcroForm.setSignatureFlags(int sigFlags)
Sets the
SigFlags integer property on the AcroForm. |
PdfAcroForm |
PdfAcroForm.setXFAResource(PdfArray xfaResource)
Sets the
XFA property on the AcroForm. |
PdfAcroForm |
PdfAcroForm.setXFAResource(PdfStream xfaResource)
Sets the
XFA property on the AcroForm. |
| Modifier and Type | Method and Description |
|---|---|
PdfAcroForm |
PdfFormFactory.getAcroForm(PdfDocument document,
boolean createIfNotExist)
Retrieves AcroForm from the document.
|
static PdfAcroForm |
PdfFormCreator.getAcroForm(PdfDocument document,
boolean createIfNotExist)
Retrieves AcroForm from the document using provided factory.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
XfaForm.setXfaForm(XfaForm form,
PdfAcroForm acroForm)
Sets the XFA key from a byte array.
|
void |
XfaForm.write(PdfAcroForm acroForm)
Write the XfaForm to the provided
PdfAcroForm. |
Copyright © 1998–2025 Apryse Group NV. All rights reserved.