com.adobe.pdf
Class FormType
java.lang.Object
|
+--com.adobe.pdf.FormType
- public final class FormType
- extends java.lang.Object
FormType defines the valid form types.
Before you can export form data, you need to determine whether a PDF document has a form and, if it does, what type of form it has. The getFormType method of a PDFDocument object returns a FormType object, which indicates the type of form. For information about how to determine the form type, see the Developer Guide.
The FormType class defines these form types:
| FormType.NOT_A_FORM |
The PDF document does not contain a form. |
| FormType.ACROFORM |
The PDF document contains an Acrobat form. Forms of type ACROFORM use the XFDF schema. |
| FormType.XML_FORM |
The PDF document contains an XML Forms Architcture stream. Forms of type XML_FORM use the XML Forms Architcture schema. |
- See Also:
FormDataFormat
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NOT_A_FORM
public static final FormType NOT_A_FORM
ACROFORM
public static final FormType ACROFORM
XML_FORM
public static final FormType XML_FORM