Package com.pdftools.pdf
Enum XfaType
- All Implemented Interfaces:
Serializable,Comparable<XfaType>
The XFA type of a PDF document
SeeDocument.getXfa() to get the XFA type of a PDF document.-
Enum Constant Details
-
NO_XFA
No XFA document
The document is not an XFA document but a regular PDF document. -
XFA_NEEDS_RENDERING
XFA document
The document is an XFA document. The document cannot be processed by many components, so it is recommended to convert it to a PDF document beforehand. -
XFA_RENDERED
Rendered XFA document
The document is a "rendered" XFA document where the PDF pages' content has been generated from the XFA form. Such documents can be processed as regular PDF documents. However, there is no guarantee that the generated pages accurately reflect the XFA document.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-