public enum PSRendererOption extends java.lang.Enum<PSRendererOption> implements RendererConfigOption
Enum Constant and Description |
---|
AUTO_ROTATE_LANDSCAPE
Indicates whether landscape pages should be rotated, default: false
|
DSC_COMPLIANT
Indicates whether the PostScript output should be DSC compliant, default: true
|
LANGUAGE_LEVEL
Sets the PostScript language level, default:
PSGenerator.DEFAULT_LANGUAGE_LEVEL |
OPTIMIZE_RESOURCES
Whether resources should be optimized in a post-processing run, default: false
|
RENDERING_MODE |
SAFE_SET_PAGE_DEVICE
Indicates whether the "safe setpagedevice" mode is active, default: false
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDefaultValue() |
java.lang.String |
getName()
The name of the option.
|
static PSRendererOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PSRendererOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PSRendererOption AUTO_ROTATE_LANDSCAPE
public static final PSRendererOption LANGUAGE_LEVEL
PSGenerator.DEFAULT_LANGUAGE_LEVEL
public static final PSRendererOption OPTIMIZE_RESOURCES
public static final PSRendererOption SAFE_SET_PAGE_DEVICE
public static final PSRendererOption DSC_COMPLIANT
public static final PSRendererOption RENDERING_MODE
public static PSRendererOption[] values()
for (PSRendererOption c : PSRendererOption.values()) System.out.println(c);
public static PSRendererOption 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 nullpublic java.lang.String getName()
RendererConfigOption
getName
in interface RendererConfigOption
public java.lang.Object getDefaultValue()
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.