public class JPedalSettings extends Object
How does it work?
The example code below gives examples of how to use this function and a full list of valid settings.
It should be called before any files are opened.
Map mapValues=new HashMap();
mapValues.put(JPedalSettings.DISPLAY_INVISIBLE_TEXT,Boolean.TRUE);
mapValues.put(JPedalSettings.TEXT_HIGHLIGHT_COLOUR, Color.GREEN);
mapValues.put(JPedalSettings.CACHE_LARGE_FONTS,new Integer(65536));
//exception will be thrown if invalid value passed
PdfDecoder.modifyJPedalParameters(mapValues);
| Modifier and Type | Field and Description |
|---|---|
static Integer |
ALLOW_PAGES_SMALLER_THAN_PAGE_SIZE
allow user to generate pages smaller than page size using hi res
|
static Integer |
CACHE_LARGE_FONTS
allow user to cache large fonts to avoid big memory hit
|
static Integer |
CHANGE_LINEART
Integer to flag alt text color should include line art
|
static Integer |
DISPLAY_BACKGROUND
Integer for color to use for text
|
static Integer |
DISPLAY_INVISIBLE_TEXT
allow user to display invisible text in current fill colour
|
static Integer |
ENHANCE_FRACTIONAL_LINES
Integer to flag enhance thin lines
|
static Integer |
EXTRACT_AT_BEST_QUALITY_MAXSCALING
allow user to limit the amount of scaling on Best quality
|
static Integer |
EXTRACT_AT_PAGE_SIZE
allow user to limit the amount of scaling on Best quality - needs PAGE_SIZE_OVERRIDES_IMAGE set to true
|
static Integer |
IGNORE_FORMS_ON_PRINT
allow user to stop some forms being printed
|
static Integer |
IMAGE_HIRES
Deprecated.
|
static Integer |
INVERT_HIGHLIGHT
allow user to set highlight to invert colours on area of page
|
static Integer |
LEGACY_HIGHLIGHTING
Possible value for TEXT_HIGHLIGHT_MODE use legacy highlighting mode
|
static Integer |
PAGE_COLOR
Integer for color to use for background
|
static Integer |
PAGE_SIZE_OVERRIDES_IMAGE
allow user to choose which takes priority
|
static Integer |
REPLACE_DISPLAY_BACKGROUND
Integer to flag text value should be changed
|
static Integer |
REPLACE_TEXT_COLOR
Integer to flag text value should be changed
|
static Integer |
REPLACEMENT_COLOR_THRESHOLD
Integer to flag text value threshold for change
|
static Integer |
TEXT_BASED_HIGHLIGHTING
Possible value for TEXT_HIGHLIGHT_MODE use legacy highlighting mode
|
static Integer |
TEXT_COLOR
Integer for color to use for text
|
static Integer |
TEXT_HIGHLIGHT_COLOUR
allow user to set colour used to highlight text found in JPanel
|
static Integer |
TEXT_INVERTED_COLOUR
allow user to define color for text when highlighted
|
static Integer |
TEXT_PRINT_NON_EMBEDDED_FONTS
allow user print all fonts as textprinting
|
static Integer |
UNDRAWN_PAGE_COLOR
Integer for color of non rendered page background
|
| Constructor and Description |
|---|
JPedalSettings() |
public static final Integer TEXT_HIGHLIGHT_COLOUR
public static final Integer DISPLAY_INVISIBLE_TEXT
public static final Integer CACHE_LARGE_FONTS
public static final Integer TEXT_PRINT_NON_EMBEDDED_FONTS
public static final Integer TEXT_INVERTED_COLOUR
@Deprecated public static final Integer IMAGE_HIRES
public static final Integer EXTRACT_AT_BEST_QUALITY_MAXSCALING
public static final Integer EXTRACT_AT_PAGE_SIZE
public static final Integer PAGE_SIZE_OVERRIDES_IMAGE
public static final Integer INVERT_HIGHLIGHT
public static final Integer IGNORE_FORMS_ON_PRINT
public static final Integer ALLOW_PAGES_SMALLER_THAN_PAGE_SIZE
public static final Integer PAGE_COLOR
public static final Integer UNDRAWN_PAGE_COLOR
public static final Integer TEXT_COLOR
public static final Integer REPLACE_TEXT_COLOR
public static final Integer CHANGE_LINEART
public static final Integer DISPLAY_BACKGROUND
public static final Integer REPLACE_DISPLAY_BACKGROUND
public static final Integer REPLACEMENT_COLOR_THRESHOLD
public static final Integer ENHANCE_FRACTIONAL_LINES
public static final Integer LEGACY_HIGHLIGHTING
public static final Integer TEXT_BASED_HIGHLIGHTING
Copyright © 2017. All rights reserved.