Example usage for Java com.itextpdf.text.pdf AcroFields fields, constructors, methods, implement or subclass
The text is from its open source code.
int | FIELD_TYPE_NONE A field type invalid or not found. |
int | FIELD_TYPE_PUSHBUTTON A field type. |
int | FIELD_TYPE_CHECKBOX A field type. |
int | FIELD_TYPE_RADIOBUTTON A field type. |
int | FIELD_TYPE_TEXT A field type. |
int | FIELD_TYPE_LIST A field type. |
int | FIELD_TYPE_COMBO A field type. |
int | FIELD_TYPE_SIGNATURE A field type. |
void | addSubstitutionFont(BaseFont font) Adds a substitution font to the list. |
void | exportAsFdf(FdfWriter writer) Export the fields as a FDF. |
InputStream | extractRevision(String field) Extracts a revision from the document. |
String[] | getAppearanceStates(String fieldName) Gets the list of appearance names. |
String | getField(String name) Gets the field value. |
Item | getFieldItem(String name) Gets the field structure. |
List | getFieldPositions(String name) Gets the field box positions in the document. |
Map | getFields() Gets all the fields. |
int | getFieldType(String fieldName) Gets the field type. |
PushbuttonField | getNewPushbuttonFromField(String field) Creates a new pushbutton from an existing field. |
int | getRevision(String field) Gets this field revision. |
ArrayList | getSignatureNames() Gets the field names that have signatures and are signed. |
int | getTotalRevisions() Gets the total number of revisions this document has. |
XfaForm | getXfa() Gets the XFA form processor. |
boolean | regenerateField(String name) Regenerates the field appearance. |
boolean | removeField(String name) Removes a field from the document. |
boolean | replacePushbuttonField(String field, PdfFormField button) Replaces the first field with a new pushbutton. |
boolean | setField(String name, String value) Sets the field value. |
boolean | setFieldProperty(String field, String name, Object value, int inst[]) Sets a field property. |
boolean | setFieldProperty(String field, String name, int value, int inst[]) Sets a field property. |
void | setGenerateAppearances(boolean generateAppearances) Sets the option to generate appearances. |
void | setSubstitutionFonts(ArrayList Sets a list of substitution fonts. |
boolean | signatureCoversWholeDocument(String name) Checks is the signature covers the entire document or just part of it. |
PdfPKCS7 | verifySignature(String name, String provider) Verifies a signature. |
PdfPKCS7 | verifySignature(String name) Verifies a signature. |