Java com.itextpdf.text.pdf AcroFields fields, constructors, methods, implement or subclass

Example usage for Java com.itextpdf.text.pdf AcroFields fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.itextpdf.text.pdf AcroFields.

The text is from its open source code.

Field

intFIELD_TYPE_NONE
A field type invalid or not found.
intFIELD_TYPE_PUSHBUTTON
A field type.
intFIELD_TYPE_CHECKBOX
A field type.
intFIELD_TYPE_RADIOBUTTON
A field type.
intFIELD_TYPE_TEXT
A field type.
intFIELD_TYPE_LIST
A field type.
intFIELD_TYPE_COMBO
A field type.
intFIELD_TYPE_SIGNATURE
A field type.

Method

voidaddSubstitutionFont(BaseFont font)
Adds a substitution font to the list.
voidexportAsFdf(FdfWriter writer)
Export the fields as a FDF.
InputStreamextractRevision(String field)
Extracts a revision from the document.
String[]getAppearanceStates(String fieldName)
Gets the list of appearance names.
StringgetField(String name)
Gets the field value.
ItemgetFieldItem(String name)
Gets the field structure.
ListgetFieldPositions(String name)
Gets the field box positions in the document.
MapgetFields()
Gets all the fields.
intgetFieldType(String fieldName)
Gets the field type.
PushbuttonFieldgetNewPushbuttonFromField(String field)
Creates a new pushbutton from an existing field.
intgetRevision(String field)
Gets this field revision.
ArrayListgetSignatureNames()
Gets the field names that have signatures and are signed.
intgetTotalRevisions()
Gets the total number of revisions this document has.
XfaFormgetXfa()
Gets the XFA form processor.
booleanregenerateField(String name)
Regenerates the field appearance.
booleanremoveField(String name)
Removes a field from the document.
booleanreplacePushbuttonField(String field, PdfFormField button)
Replaces the first field with a new pushbutton.
booleansetField(String name, String value)
Sets the field value.
booleansetFieldProperty(String field, String name, Object value, int inst[])
Sets a field property.
booleansetFieldProperty(String field, String name, int value, int inst[])
Sets a field property.
voidsetGenerateAppearances(boolean generateAppearances)
Sets the option to generate appearances.
voidsetSubstitutionFonts(ArrayList substitutionFonts)
Sets a list of substitution fonts.
booleansignatureCoversWholeDocument(String name)
Checks is the signature covers the entire document or just part of it.
PdfPKCS7verifySignature(String name, String provider)
Verifies a signature.
PdfPKCS7verifySignature(String name)
Verifies a signature.