public enum ErrorCategory extends java.lang.Enum<ErrorCategory>
Enum Constant | Description |
---|---|
ACTION |
The document contains actions types other than for navigation (launch, JavaScript, ResetForm, etc.)
|
ALTERNATE |
The document contains alternate information (images).
|
APPEARANCE |
The document contains annotations or form fields with ambiguous or without appropriate appearances.
|
COLOR |
The document contains device-specific color spaces.
|
CUSTOM |
Violations of custom corporate directives.
|
EMBEDDED_FILE |
The document contains embedded files.
|
ENCRYPTION |
The file is encrypted.
|
EXTERNAL |
The document contains references to external content (reference XObjects, OPI).
|
FONT |
The document contains fonts without embedded font programs or encoding information (CMAPs)
|
FORMAT |
The file format (header, trailer, objects, xref, streams) is corrupted.
|
METADATA |
The document's meta data is either missing or inconsistent or corrupt.
|
MULTIMEDIA |
The document contains multimedia annotations (sound, movies).
|
OPTIONAL_CONTENT |
The document contains optional content (layers).
|
PDF |
The document doesn't conform to the PDF reference or PDF/A Specification (missing required entries, wrong value types, etc.).
|
POST_SCRIPT |
The document contains embedded PostScript code.
|
PRINT |
The document contains hidden, invisible, non-viewable or non-printable annotations.
|
RENDERING |
The document contains illegal rendering hints (unknown intents, interpolation, transfer and halftone functions).
|
SIGNATURE |
The document contains signatures.
|
STRUCTURE |
The document doesn't provide appropriate logical structure information.
|
TRANSPARENCY |
The document contains transparency.
|
UNICODE |
The document contains fonts without appropriate character to Unicode mapping information (ToUnicode maps)
|
UNSUPPORTED_ANNOTATION |
The document contains unknown annotation types.
|
Modifier and Type | Method | Description |
---|---|---|
static ErrorCategory |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ErrorCategory[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCategory FORMAT
public static final ErrorCategory PDF
public static final ErrorCategory ENCRYPTION
public static final ErrorCategory COLOR
public static final ErrorCategory RENDERING
public static final ErrorCategory ALTERNATE
public static final ErrorCategory POST_SCRIPT
public static final ErrorCategory EXTERNAL
public static final ErrorCategory FONT
public static final ErrorCategory UNICODE
public static final ErrorCategory TRANSPARENCY
public static final ErrorCategory UNSUPPORTED_ANNOTATION
public static final ErrorCategory MULTIMEDIA
public static final ErrorCategory PRINT
public static final ErrorCategory APPEARANCE
public static final ErrorCategory ACTION
public static final ErrorCategory METADATA
public static final ErrorCategory STRUCTURE
public static final ErrorCategory OPTIONAL_CONTENT
public static final ErrorCategory EMBEDDED_FILE
public static final ErrorCategory SIGNATURE
public static final ErrorCategory CUSTOM
public static ErrorCategory[] values()
for (ErrorCategory c : ErrorCategory.values()) System.out.println(c);
public static ErrorCategory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null