Package org.apache.fop.render.pdf
Enum PDFEncryptionOption
- All Implemented Interfaces:
Serializable
,Comparable<PDFEncryptionOption>
,java.lang.constant.Constable
,RendererConfigOption
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPDF encryption parameter: encrypts Metadata, datatype: Boolean or "true"/"false", default: truePDF encryption length parameter: must be a multiple of 8 between 40 and 128, datatype: int, default: 128PDF encryption parameter: Forbids extracting text and graphics, datatype: Boolean or "true"/"false", default: falsePDF encryption parameter: Forbids annotations, datatype: Boolean or "true"/"false", default: falsePDF encryption parameter: Forbids assembling document, datatype: Boolean or "true"/"false", default: falsePDF encryption parameter: Forbids copying content, datatype: Boolean or "true"/"false", default: falsePDF encryption parameter: Forbids editing content, datatype: Boolean or "true"/"false", default: falsePDF encryption parameter: Forbids filling in existing interactive forms, datatype: Boolean or "true"/"false", default: falsePDF encryption parameter: Forbids printing, datatype: Boolean or "true"/"false", default: falsePDF encryption parameter: Forbids printing to high quality, datatype: Boolean or "true"/"false", default: falsePDF encryption parameter: owner password, datatype: String, default: ""PDF encryption parameter: user password, datatype: String, default: "" -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetName()
The name of the option.static PDFEncryptionOption
Returns the enum constant of this type with the specified name.static PDFEncryptionOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ENCRYPTION_LENGTH
PDF encryption length parameter: must be a multiple of 8 between 40 and 128, datatype: int, default: 128 -
NO_PRINTHQ
PDF encryption parameter: Forbids printing to high quality, datatype: Boolean or "true"/"false", default: false -
NO_ASSEMBLEDOC
PDF encryption parameter: Forbids assembling document, datatype: Boolean or "true"/"false", default: false -
NO_ACCESSCONTENT
PDF encryption parameter: Forbids extracting text and graphics, datatype: Boolean or "true"/"false", default: false -
NO_FILLINFORMS
PDF encryption parameter: Forbids filling in existing interactive forms, datatype: Boolean or "true"/"false", default: false -
NO_ANNOTATIONS
PDF encryption parameter: Forbids annotations, datatype: Boolean or "true"/"false", default: false -
NO_PRINT
PDF encryption parameter: Forbids printing, datatype: Boolean or "true"/"false", default: false -
NO_COPY_CONTENT
PDF encryption parameter: Forbids copying content, datatype: Boolean or "true"/"false", default: false -
NO_EDIT_CONTENT
PDF encryption parameter: Forbids editing content, datatype: Boolean or "true"/"false", default: false -
USER_PASSWORD
PDF encryption parameter: user password, datatype: String, default: "" -
OWNER_PASSWORD
PDF encryption parameter: owner password, datatype: String, default: "" -
ENCRYPT_METADATA
PDF encryption parameter: encrypts Metadata, datatype: Boolean or "true"/"false", default: true
-
-
Field Details
-
ENCRYPTION_PARAMS
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
-