- generateAppearance - Variable in class com.itextpdf.forms.PdfAcroForm
-
Keeps track of whether or not appearances must be generated by the form
fields themselves, or by the PDF viewer application.
- generateDefaultAppearanceString(PdfFont, float, Color, PdfResources) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Generate default appearance, /DA key.
- getAcroForm(PdfDocument, boolean) - Static method in class com.itextpdf.forms.PdfAcroForm
-
Retrieves AcroForm from the document.
- getAdditionalAction() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the currently additional action dictionary for the form field.
- getAlternativeName() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the current alternate name.
- getAppearanceStates() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the appearance state names.
- getBorderWidth() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the border width for the field.
- getCalculationOrder() - Method in class com.itextpdf.forms.PdfAcroForm
-
Gets the CO array property on the AcroForm.
- getDatasetsNode() - Method in class com.itextpdf.forms.xfa.XfaForm
-
Gets the Node that corresponds to the datasets part.
- getDefaultAppearance() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets default appearance string containing a sequence of valid page-content graphics or text state operators that
define such properties as the field's text size and color.
- getDefaultAppearance() - Method in class com.itextpdf.forms.PdfAcroForm
-
Gets the DA String property on the AcroForm.
- getDefaultJustification() - Method in class com.itextpdf.forms.PdfAcroForm
-
Gets the Q integer property on the AcroForm.
- getDefaultResources() - Method in class com.itextpdf.forms.PdfAcroForm
-
Gets the DR dictionary property on the AcroForm.
- getDefaultStyle() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets a default style string, as described in "Rich Text Strings" section of Pdf spec.
- getDefaultValue() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the default fallback value for the form field.
- getDocument() - Method in class com.itextpdf.forms.fields.PdfFormField
-
- getDomDocument() - Method in class com.itextpdf.forms.xfa.XfaForm
-
Gets the top level DOM document.
- getField(String) - Method in class com.itextpdf.forms.PdfAcroForm
-
- getFieldFlag(int) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Checks whether a certain flag, or any of a combination of flags, is set
for this form field.
- getFieldFlags() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the current list of PDF form field flags.
- getFieldName() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the current field name.
- getFields() - Method in class com.itextpdf.forms.PdfAcroForm
-
Gets all AcroForm fields in the document.
- getFont() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the current font of the form field.
- getFontAndSize(PdfDictionary) - Method in class com.itextpdf.forms.fields.PdfFormField
-
- getFormFields() - Method in class com.itextpdf.forms.PdfAcroForm
-
- getFormType() - Method in class com.itextpdf.forms.fields.PdfButtonFormField
-
Returns Btn, the form type for choice form fields.
- getFormType() - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
Returns Ch, the form type for choice form fields.
- getFormType() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Returns the type of the
- getFormType() - Method in class com.itextpdf.forms.fields.PdfSignatureFormField
-
Returns Sig, the form type for signature form fields.
- getFormType() - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
Returns Tx, the form type for textual form fields.
- getIndices() - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
Gets the currently selected items in the field
- getJustification() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets a code specifying the form of quadding (justification) to be used in displaying the text:
0 Left-justified
1 Centered
2 Right-justified
- getKids() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the kids of this object.
- getLockActionValue(PdfSigFieldLock.LockAction) - Static method in class com.itextpdf.forms.PdfSigFieldLock
-
- getLockPermission(PdfSigFieldLock.LockPermissions) - Static method in class com.itextpdf.forms.PdfSigFieldLock
-
- getMappingName() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the current mapping name.
- getMaxLen() - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
Gets the maximum length of the field's text, in characters.
- getNeedAppearances() - Method in class com.itextpdf.forms.PdfAcroForm
-
Gets the NeedAppearances boolean property on the AcroForm.
- getNodeText(Node) - Static method in class com.itextpdf.forms.xfa.XfaForm
-
Gets all the text contained in the child nodes of this node.
- getOptions() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets options for the form field.
- getParent() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the parent dictionary.
- getPdfDocument() - Method in class com.itextpdf.forms.PdfAcroForm
-
- getRect(PdfDictionary) - Method in class com.itextpdf.forms.fields.PdfFormField
-
- getRichText() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets a rich text string, as described in "Rich Text Strings" section of Pdf spec.
- getSigFieldLockDictionary() - Method in class com.itextpdf.forms.fields.PdfSignatureFormField
-
Gets the
PdfSigFieldLock, which contains fields that
must be locked if the document is signed.
- getSignatureFlags() - Method in class com.itextpdf.forms.PdfAcroForm
-
Gets the SigFlags integer property on the AcroForm.
- getTopIndex() - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
Gets the current index of the first option in a scrollable list.
- getValue() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the current value contained in the form field.
- getValueAsString() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the current value contained in the form field.
- getWidgets() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets all
PdfWidgetAnnotation that this form field and its
kids refer to.
- getXfaFieldValue(String) - Method in class com.itextpdf.forms.xfa.XfaForm
-
Gets the xfa field value.
- getXfaForm() - Method in class com.itextpdf.forms.PdfAcroForm
-
- getXFAResource() - Method in class com.itextpdf.forms.PdfAcroForm
-
Gets the XFA property on the AcroForm.
- img - Variable in class com.itextpdf.forms.fields.PdfFormField
-
- isComb() - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
Meaningful only if the MaxLen entry is present in the text field dictionary
and if the Multiline, Password, and FileSelect flags are clear.
- isCombo() - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
If true, the field is a combo box; if false, the field is a list box.
- isCommitOnSelChange() - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
If true, the new value shall be committed as soon as a selection is made (commonly with the pointing device).
- isEdit() - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
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.
- isFileSelect() - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
If true, the text entered in the field represents the pathname of a file
whose contents are to be submitted as the value of the field.
- isGenerateAppearance() - Method in class com.itextpdf.forms.PdfAcroForm
-
Gets the attribute generateAppearance, which tells
flattenFields()
to generate an appearance Stream for all
form fields
that don't have one.
- isMultiline() - Method in class com.itextpdf.forms.fields.PdfFormField
-
If true, the field can contain multiple lines of text; if false, the field's text is restricted to a single line.
- isMultiSelect() - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
If true, more than one of the field's option items may be selected simultaneously; if false, at most one item shall be selected.
- isNoExport() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the NoExport attribute.
- isPassword() - Method in class com.itextpdf.forms.fields.PdfFormField
-
If true, the field is intended for entering a secure password that should not be echoed visibly to the screen.
- isPushButton() - Method in class com.itextpdf.forms.fields.PdfButtonFormField
-
If true, the field is a pushbutton that does not retain a permanent value.
- isRadio() - Method in class com.itextpdf.forms.fields.PdfButtonFormField
-
If true, the field is a set of radio buttons; if false, the field is a
check box.
- isRadiosInUnison() - Method in class com.itextpdf.forms.fields.PdfButtonFormField
-
If true, a group of radio buttons within a radio button field that use
the same value for the on state will turn on and off in unison;
that is if one is checked, they are all checked.
- isReadOnly() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the ReadOnly flag, specifying whether or not the field can be changed.
- isRequired() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Gets the Required flag, specifying whether or not the field must be filled in.
- isRichText() - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
If true, the value of this field should be represented as a rich text string.
- isScroll() - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
If true, the field scrolls (horizontally for single-line fields, vertically for multiple-line fields)
to accommodate more text than fits within its annotation rectangle.
- isSort() - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
If true, the field's option items shall be sorted alphabetically.
- isSpellCheck() - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
If true, text entered in the field shall be spell-checked..
- isSpellCheck() - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
If true, text entered in the field is spell-checked.
- isToggleOff() - Method in class com.itextpdf.forms.fields.PdfButtonFormField
-
If true, clicking the selected button deselects it, leaving no button
selected.
- isWrappedObjectMustBeIndirect() - Method in class com.itextpdf.forms.fields.PdfFormField
-
- isWrappedObjectMustBeIndirect() - Method in class com.itextpdf.forms.PdfAcroForm
-
- isWrappedObjectMustBeIndirect() - Method in class com.itextpdf.forms.PdfSigFieldLock
-
- isXfaPresent() - Method in class com.itextpdf.forms.xfa.XfaForm
-
Returns true if it is a XFA form.
- setAction(PdfAction) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets the action on all widgets of this form field.
- setAdditionalAction(PdfName, PdfAction) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets an additional action for the form field.
- setAlternativeName(String) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Changes the alternate name of the field to the specified value.
- setAppearance(PdfName, String, PdfStream) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets an appearance for (the widgets related to) the form field.
- setBackgroundColor(Color) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Basic setter for the backgroundColor property.
- setBorderColor(Color) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets the Border Color.
- setBorderStyle(PdfDictionary) - Method in class com.itextpdf.forms.fields.PdfFormField
-
- setBorderWidth(float) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets the border width for the field.
- setCalculationOrder(PdfArray) - Method in class com.itextpdf.forms.PdfAcroForm
-
Sets the CO array property on the AcroForm.
- setCheckType(int) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Changes the type of graphical marker used to mark a checkbox as 'on'.
- setColor(Color) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets the text color.
- setComb(boolean) - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
Meaningful only if the MaxLen entry is present in the text field dictionary
and if the Multiline, Password, and FileSelect flags are clear.
- setCombo(boolean) - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
If true, the field is a combo box; if false, the field is a list box.
- setCommitOnSelChange(boolean) - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
If true, the new value shall be committed as soon as a selection is made (commonly with the pointing device).
- setDefaultAppearance(String) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets default appearance string containing a sequence of valid page-content graphics or text state operators that
define such properties as the field's text size and color.
- setDefaultAppearance(String) - Method in class com.itextpdf.forms.PdfAcroForm
-
Sets the DA String property on the AcroForm.
- setDefaultJustification(int) - Method in class com.itextpdf.forms.PdfAcroForm
-
Sets the Q integer property on the AcroForm.
- setDefaultResources(PdfDictionary) - Method in class com.itextpdf.forms.PdfAcroForm
-
Sets the DR dictionary property on the AcroForm.
- setDefaultStyle(PdfString) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets a default style string, as described in "Rich Text Strings" section of Pdf spec.
- setDefaultValue(PdfObject) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets the default fallback value for the form field.
- setDocumentPermissions(PdfSigFieldLock.LockPermissions) - Method in class com.itextpdf.forms.PdfSigFieldLock
-
Sets the permissions granted for the document when the corresponding signature
field is signed.
- setDomDocument(Document) - Method in class com.itextpdf.forms.xfa.XfaForm
-
Sets the top DOM document.
- setEdit(boolean) - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
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.
- setFieldFlag(int) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Adds a flag, or combination of flags, for the form field.
- setFieldFlag(int, boolean) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Adds or removes a flag, or combination of flags, for the form field.
- setFieldFlags(int) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets a flag, or combination of flags, for the form field.
- setFieldLock(PdfSigFieldLock.LockAction, String...) - Method in class com.itextpdf.forms.PdfSigFieldLock
-
Sets signature lock for specific fields in the document.
- setFieldName(String) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Changes the name of the field to the specified value.
- setFileSelect(boolean) - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
If true, the text entered in the field represents the pathname of a file
whose contents are to be submitted as the value of the field.
- setFont(PdfFont) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Basic setter for the font property.
- setFontAndSize(PdfFont, int) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Combined setter for the font and fontSize
properties.
- setFontSize(float) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Basic setter for the fontSize property.
- setFontSize(int) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Basic setter for the fontSize property.
- setFontSizeAutoScale() - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets zero font size which will be interpreted as auto-size according to ISO 32000-1, 12.7.3.3.
- setGenerateAppearance(boolean) - Method in class com.itextpdf.forms.PdfAcroForm
-
Sets the attribute generateAppearance, which tells
flattenFields()
to generate an appearance Stream for all
form fields
that don't have one.
- setImage(String) - Method in class com.itextpdf.forms.fields.PdfButtonFormField
-
- setImageAsForm(PdfFormXObject) - Method in class com.itextpdf.forms.fields.PdfButtonFormField
-
- setIndices(PdfArray) - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
Sets the selected items in the field.
- setJustification(int) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets a code specifying the form of quadding (justification) to be used in displaying the text:
0 Left-justified
1 Centered
2 Right-justified
- setListSelected(String[]) - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
Highlights the options.
- setListSelected(int[]) - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
Highlights the options.
- setMappingName(String) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Changes the mapping name of the field to the specified value.
- setMaxLen(int) - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
Sets the maximum length of the field?s text, in characters.
- setMultiline(boolean) - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
If true, the field can contain multiple lines of text; if false, the field?s text is restricted to a single line.
- setMultiSelect(boolean) - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
If true, more than one of the field's option items may be selected
simultaneously; if false, at most one item shall be selected.
- setNeedAppearances(boolean) - Method in class com.itextpdf.forms.PdfAcroForm
-
Sets the NeedAppearances boolean property on the AcroForm.
- setNodeText(Node, String) - Method in class com.itextpdf.forms.xfa.XfaForm
-
Sets the text of this node.
- setNoExport(boolean) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets the NoExport flag, specifying whether or not exporting is forbidden.
- setOptions(PdfArray) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets options for the form field.
- setPage(int) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Specifies on which page the form field's widget must be shown.
- setParent(PdfFormField) - Method in class com.itextpdf.forms.fields.PdfFormField
-
- setPassword(boolean) - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
If true, the field is intended for entering a secure password that should not be echoed visibly to the screen.
- setPushButton(boolean) - Method in class com.itextpdf.forms.fields.PdfButtonFormField
-
If true, the field is a pushbutton that does not retain a permanent value.
- setRadio(boolean) - Method in class com.itextpdf.forms.fields.PdfButtonFormField
-
If true, the field is a set of radio buttons; if false, the field is a
check box.
- setRadiosInUnison(boolean) - Method in class com.itextpdf.forms.fields.PdfButtonFormField
-
If true, a group of radio buttons within a radio button field that use
the same value for the on state will turn on and off in unison; that is
if one is checked, they are all checked.
- setReadOnly(boolean) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets the ReadOnly flag, specifying whether or not the field can be changed.
- setRequired(boolean) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets the Required flag, specifying whether or not the field must be filled in.
- setRichText(PdfObject) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets a rich text string, as described in "Rich Text Strings" section of Pdf spec.
- setRichText(boolean) - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
If true, the value of this field should be represented as a rich text string.
- setRotation(int) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Basic setter for the degRotation property.
- setScroll(boolean) - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
If true, the field scrolls (horizontally for single-line fields, vertically for multiple-line fields)
to accommodate more text than fits within its annotation rectangle.
- setSignatureFlag(int) - Method in class com.itextpdf.forms.PdfAcroForm
-
Changes the SigFlags integer property on the AcroForm.
- setSignatureFlags(int) - Method in class com.itextpdf.forms.PdfAcroForm
-
Sets the SigFlags integer property on the AcroForm.
- setSort(boolean) - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
If true, the field's option items shall be sorted alphabetically.
- setSpellCheck(boolean) - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
If true, text entered in the field shall be spell-checked..
- setSpellCheck(boolean) - Method in class com.itextpdf.forms.fields.PdfTextFormField
-
If true, text entered in the field is spell-checked.
- setToggleOff(boolean) - Method in class com.itextpdf.forms.fields.PdfButtonFormField
-
If true, clicking the selected button deselects it, leaving no button selected.
- setTopIndex(int) - Method in class com.itextpdf.forms.fields.PdfChoiceFormField
-
Sets the index of the first visible option in a scrollable list.
- setValue(String) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets a value to the field and generating field appearance if needed.
- setValue(String, boolean) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets a value to the field and generating field appearance if needed.
- setValue(String, PdfFont, float) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Set text field value with given font and size
- setValue(String, String) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Sets the field value and the display string.
- setValue(PdfObject) - Method in class com.itextpdf.forms.fields.PdfSignatureFormField
-
Adds the signature to the signature field.
- setVisibility(int) - Method in class com.itextpdf.forms.fields.PdfFormField
-
Set the visibility flags of the form field annotation
Options are: HIDDEN, HIDDEN_BUT_PRINTABLE, VISIBLE, VISIBLE_BUT_DOES_NOT_PRINT
- setXfaFieldValue(String, String) - Method in class com.itextpdf.forms.xfa.XfaForm
-
Changes a field value in the XFA form.
- setXfaForm(XfaForm, PdfDocument) - Static method in class com.itextpdf.forms.xfa.XfaForm
-
Sets the XFA key from a byte array.
- setXfaForm(XfaForm, PdfAcroForm) - Static method in class com.itextpdf.forms.xfa.XfaForm
-
Sets the XFA key from a byte array.
- setXFAResource(PdfStream) - Method in class com.itextpdf.forms.PdfAcroForm
-
Sets the XFA property on the AcroForm.
- setXFAResource(PdfArray) - Method in class com.itextpdf.forms.PdfAcroForm
-
Sets the XFA property on the AcroForm.
- SIGNATURE_EXIST - Static variable in class com.itextpdf.forms.PdfAcroForm
-
- splitDAelements(String) - Static method in class com.itextpdf.forms.fields.PdfFormField
-
- square - Static variable in class com.itextpdf.forms.util.DrawingUtil
-
- star - Static variable in class com.itextpdf.forms.util.DrawingUtil
-