- All Implemented Interfaces:
Serializable,Comparable<WriteOption>,Constable
Options that can be selected when writing a PDF document.
- Author:
- Andrea Vacondio
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWrites the document using the asynchronous writer as opposed to the default sync oneAdds a Flate filter to the streams if not already thereDoes not automatically update metadata modified date and producer when savingWrites pdf objects using objects streamWrites the xref data as stream -
Method Summary
Modifier and TypeMethodDescriptionstatic WriteOptionReturns the enum constant of this class with the specified name.static WriteOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
XREF_STREAM
Writes the xref data as stream -
ASYNC_BODY_WRITE
Writes the document using the asynchronous writer as opposed to the default sync one -
OBJECT_STREAMS
Writes pdf objects using objects stream -
COMPRESS_STREAMS
Adds a Flate filter to the streams if not already there -
NO_METADATA_PRODUCER_MODIFIED_DATE_UPDATE
Does not automatically update metadata modified date and producer when saving
-
-
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
-