public static enum PDFParserConfig.IMAGE_STRATEGY extends Enum<PDFParserConfig.IMAGE_STRATEGY>
Enum Constant and Description |
---|
NONE |
RAW_IMAGES
This is the more modern version of
PDFParserConfig.extractInlineImages |
RENDER_PAGES_AT_PAGE_END
This renders each page, one at a time, at the end of the page.
|
RENDER_PAGES_BEFORE_PARSE
If you want the rendered images, and you don't care that there's
markup in the xhtml handler per page then go with this option.
|
Modifier and Type | Method and Description |
---|---|
static PDFParserConfig.IMAGE_STRATEGY |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PDFParserConfig.IMAGE_STRATEGY[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PDFParserConfig.IMAGE_STRATEGY NONE
public static final PDFParserConfig.IMAGE_STRATEGY RAW_IMAGES
PDFParserConfig.extractInlineImages
public static final PDFParserConfig.IMAGE_STRATEGY RENDER_PAGES_BEFORE_PARSE
public static final PDFParserConfig.IMAGE_STRATEGY RENDER_PAGES_AT_PAGE_END
public static PDFParserConfig.IMAGE_STRATEGY[] values()
for (PDFParserConfig.IMAGE_STRATEGY c : PDFParserConfig.IMAGE_STRATEGY.values()) System.out.println(c);
public static PDFParserConfig.IMAGE_STRATEGY 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 © 2007–2023 The Apache Software Foundation. All rights reserved.