public enum Permission extends Enum<Permission>
ProtectPDFOperation
Enum Constant and Description |
---|
COPY_CONTENT
Enables copying of content from the PDF document
|
EDIT_ANNOTATIONS
Enables additions of comments, digital signatures and filling in of forms in a PDF document
|
EDIT_CONTENT
Enables all the editing permissions in the PDF document except commenting and page extraction
|
EDIT_DOCUMENT_ASSEMBLY
Enables insertion, deletion and rotation of pages in a PDF document
|
EDIT_FILL_AND_SIGN_FORM_FIELDS
Enables filling in of forms, digital signature and creation of template pages in a PDF document
|
PRINT_HIGH_QUALITY
Enables high quality printing of the PDF document
|
PRINT_LOW_QUALITY
Enables low quality printing of the PDF document
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Returns the value of this permission
|
static Permission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permission PRINT_LOW_QUALITY
public static final Permission PRINT_HIGH_QUALITY
public static final Permission EDIT_CONTENT
public static final Permission EDIT_DOCUMENT_ASSEMBLY
public static final Permission EDIT_ANNOTATIONS
public static final Permission EDIT_FILL_AND_SIGN_FORM_FIELDS
public static final Permission COPY_CONTENT
public static Permission[] values()
for (Permission c : Permission.values()) System.out.println(c);
public static Permission valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
Copyright © 2023 Adobe. All rights reserved.