Package org.apache.fop.render.ps
Enum Class PSRendererOption
- All Implemented Interfaces:
Serializable
,Comparable<PSRendererOption>
,Constable
,RendererConfigOption
An enumeration of the PostScript renderer configuration options along with their default values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates whether landscape pages should be rotated, default: falseIndicates whether the PostScript output should be DSC compliant, default: trueSets the PostScript language level, default:PSGenerator.DEFAULT_LANGUAGE_LEVEL
Whether resources should be optimized in a post-processing run, default: falseIndicates whether the "safe setpagedevice" mode is active, default: false -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
The name of the option.static PSRendererOption
Returns the enum constant of this class with the specified name.static PSRendererOption[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO_ROTATE_LANDSCAPE
Indicates whether landscape pages should be rotated, default: false -
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 -
SAFE_SET_PAGE_DEVICE
Indicates whether the "safe setpagedevice" mode is active, default: false -
DSC_COMPLIANT
Indicates whether the PostScript output should be DSC compliant, default: true -
RENDERING_MODE
-
ACROBAT_DOWNSAMPLE
-
-
Field Details
-
name
-
defaultValue
-
-
Constructor Details
-
PSRendererOption
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
Description copied from interface:RendererConfigOption
The name of the option.- Specified by:
getName
in interfaceRendererConfigOption
-
getDefaultValue
- Specified by:
getDefaultValue
in interfaceRendererConfigOption
-