public class PdfFormFactory extends Object
| Constructor and Description |
|---|
PdfFormFactory()
Create
PdfFormFactory instance. |
public PdfFormFactory()
PdfFormFactory instance.public PdfFormField createFormField(PdfDocument document)
PdfFormField.document - The PdfDocument instance.PdfFormFieldpublic PdfFormField createFormField(PdfDictionary dictionary)
PdfDictionary.
This PdfDictionary must be an indirect object.dictionary - the dictionary to be wrapped, must have an indirect reference.PdfFormFieldpublic PdfFormField createFormField(PdfWidgetAnnotation widget, PdfDocument document)
PdfWidgetAnnotation.widget - The widget which will be a kid of the PdfFormField.document - The PdfDocument instance.PdfFormFieldpublic PdfTextFormField createTextFormField(PdfDocument document)
PdfTextFormField.document - The PdfDocument instance.PdfTextFormFieldpublic PdfTextFormField createTextFormField(PdfDictionary dictionary)
PdfDictionary.
This PdfDictionary must be an indirect object.dictionary - the dictionary to be wrapped, must have an indirect reference.PdfTextFormFieldpublic PdfTextFormField createTextFormField(PdfWidgetAnnotation widget, PdfDocument document)
PdfWidgetAnnotation.widget - The widget which will be a kid of the PdfTextFormField.document - The PdfDocument instance.PdfTextFormFieldpublic PdfButtonFormField createButtonFormField(PdfDocument document)
PdfButtonFormField.document - The PdfDocument instance.PdfButtonFormFieldpublic PdfButtonFormField createButtonFormField(PdfDictionary dictionary)
PdfDictionary.
This PdfDictionary must be an indirect object.dictionary - the dictionary to be wrapped, must have an indirect reference.PdfButtonFormFieldpublic PdfButtonFormField createButtonFormField(PdfWidgetAnnotation widget, PdfDocument document)
PdfWidgetAnnotation.widget - The widget which will be a kid of the PdfButtonFormField.document - The PdfDocument instance.PdfButtonFormFieldpublic PdfChoiceFormField createChoiceFormField(PdfDocument document)
PdfChoiceFormField.document - The PdfDocument instance.PdfChoiceFormFieldpublic PdfChoiceFormField createChoiceFormField(PdfDictionary dictionary)
PdfDictionary.
This PdfDictionary must be an indirect object.dictionary - the dictionary to be wrapped, must have an indirect reference.PdfChoiceFormFieldpublic PdfChoiceFormField createChoiceFormField(PdfWidgetAnnotation widget, PdfDocument document)
PdfWidgetAnnotation.widget - The widget which will be a kid of the PdfChoiceFormField.document - The PdfDocument instance.PdfChoiceFormFieldpublic PdfSignatureFormField createSignatureFormField(PdfDocument document)
PdfSignatureFormField.document - The PdfDocument instance.PdfSignatureFormFieldpublic PdfSignatureFormField createSignatureFormField(PdfDictionary dictionary)
PdfDictionary.
This PdfDictionary must be an indirect object.dictionary - the dictionary to be wrapped, must have an indirect reference.PdfSignatureFormFieldpublic PdfSignatureFormField createSignatureFormField(PdfWidgetAnnotation widget, PdfDocument document)
PdfWidgetAnnotation.widget - The widget which will be a kid of the PdfSignatureFormField.document - The PdfDocument instance.PdfSignatureFormFieldpublic PdfFormAnnotation createFormAnnotation(PdfDictionary dictionary)
PdfDictionary.
This PdfDictionary must be an indirect object.dictionary - the dictionary to be wrapped, must have an indirect reference.PdfFormAnnotationpublic PdfFormAnnotation createFormAnnotation(PdfWidgetAnnotation widget, PdfDocument document)
PdfWidgetAnnotation.widget - The widget which will be a kid of the PdfFormFielddocument - The PdfDocument instance.PdfFormAnnotationpublic PdfAcroForm getAcroForm(PdfDocument document, boolean createIfNotExist)
document - the document to retrieve the PdfAcroForm fromcreateIfNotExist - when true, this method will create a PdfAcroForm
if none exists for this documentdocument's AcroForm, or a new one provided that createIfNotExist
parameter is true, otherwise null.Copyright © 1998–2023 Apryse Group NV. All rights reserved.