public static enum PDF.Feature extends Enum<PDF.Feature>
PDF.hasFeature(com.snowtide.PDF.Feature)
to determine at runtime whether the
loaded license file
includes a given Feature
. If an API call requires a feature that isn't enabled by the
loaded license file, the call will throw an InsufficientLicenseException
.Enum Constant and Description |
---|
Base
Corresponds to the PDFxStream Base featureset.
|
Forms
Corresponds to the PDFFormStream featureset.
|
Images
Corresponds to the PDFImageStream featureset.
|
Text
Corresponds to the PDFTextStream featureset.
|
Modifier and Type | Method and Description |
---|---|
static PDF.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PDF.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PDF.Feature Base
decryption of encrypted PDF documents
PDF annotations
embedded files and
attachments
bookmarks
key/value pairs
or XML
"raw" character data
dimensions
, locations
, and
types
PDF file merging
public static final PDF.Feature Text
document model
Page.pipe(com.snowtide.pdf.OutputHandler)
, extensible via the
OutputHandler
interfaceOutputHandler
implementations,
covering most common text extraction use cases:
tables
,
with related utilities
public static final PDF.Feature Images
on-screen graphics
contexts
or
saving to disk
in
familiar
formats
public static final PDF.Feature Forms
extracting
and
filling
interactive and
XFA
formstext
,
checkboxes
,
buttons
,
radio buttons
,
signature
, and
select
fields.public static PDF.Feature[] values()
for (PDF.Feature c : PDF.Feature.values()) System.out.println(c);
public static PDF.Feature 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 null