public static enum PDFStructureReaderSettings.PDFStructureReadStrategy extends Enum<PDFStructureReaderSettings.PDFStructureReadStrategy>
Enum Constant and Description |
---|
ALWAYS_GENERATE_XREF
Always generate the cross reference table, regardless if the original cross reference table had
errors or not.
|
LENIENT_ON_ERROR
Use the normal/strict parsing mechanism to read the PDF structure.
|
STRICT
Structural errors might lead to exceptions when loading a document.
This is the default / classic behavior. |
Modifier and Type | Method and Description |
---|---|
static PDFStructureReaderSettings.PDFStructureReadStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PDFStructureReaderSettings.PDFStructureReadStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PDFStructureReaderSettings.PDFStructureReadStrategy STRICT
public static final PDFStructureReaderSettings.PDFStructureReadStrategy LENIENT_ON_ERROR
For erroneous documents, loading time will be increased due to the additional structure parsing in the fallback case.
Documents without errors are loaded with same performance as with mode STRICT.
public static final PDFStructureReaderSettings.PDFStructureReadStrategy ALWAYS_GENERATE_XREF
public static PDFStructureReaderSettings.PDFStructureReadStrategy[] values()
for (PDFStructureReaderSettings.PDFStructureReadStrategy c : PDFStructureReaderSettings.PDFStructureReadStrategy.values()) System.out.println(c);
public static PDFStructureReaderSettings.PDFStructureReadStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024 levigo holding gmbh. All rights reserved.