public final enum

DocumentPermissions

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pspdfkit.document.DocumentPermissions

Class Overview

A set of flags specifying which operations shall be permitted when the document is opened with user access.

Summary

Enum Values
DocumentPermissions  ANNOTATIONS_AND_FORMS  Add or modify text annotations, fill in interactive form fields, and, if bit 4 is also set, create or modify interactive form fields (including signature fields). 
DocumentPermissions  ASSEMBLE  (Security handlers of revision 3 or greater) Assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if bit 4 is clear. 
DocumentPermissions  EXTRACT  (Security handlers of revision 2) Copy or otherwise extract text and graphics from the document, including extracting text and graphics (in support of accessibility to users with disabilities or for other purposes). 
DocumentPermissions  EXTRACT_ACCESSIBILITY  (Security handlers of revision 3 or greater) Extract text and graphics (in support of accessibility to users with disabilities or for other purposes). 
DocumentPermissions  FILL_FORMS  (Security handlers of revision 3 or greater) Fill in existing interactive form fields (including signature fields), even if bit 6 is clear. 
DocumentPermissions  MODIFICATION  Modify the contents of the document by operations other than those controlled by bits 6, 9, and 11. 
DocumentPermissions  PRINTING  Print the document. 
DocumentPermissions  PRINT_HIGH_QUALITY  (Security handlers of revision 3 or greater) Print the document to a representation from which a faithful digital copy of the PDF content could be generated. 
Public Methods
static DocumentPermissions valueOf(String name)
final static DocumentPermissions[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DocumentPermissions ANNOTATIONS_AND_FORMS

Add or modify text annotations, fill in interactive form fields, and, if bit 4 is also set, create or modify interactive form fields (including signature fields).

public static final DocumentPermissions ASSEMBLE

(Security handlers of revision 3 or greater) Assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if bit 4 is clear.

public static final DocumentPermissions EXTRACT

(Security handlers of revision 2) Copy or otherwise extract text and graphics from the document, including extracting text and graphics (in support of accessibility to users with disabilities or for other purposes). (Security handlers of revision 3 or greater) Copy or otherwise extract text and graphics from the document by operations other than that controlled by bit 10.

public static final DocumentPermissions EXTRACT_ACCESSIBILITY

(Security handlers of revision 3 or greater) Extract text and graphics (in support of accessibility to users with disabilities or for other purposes).

public static final DocumentPermissions FILL_FORMS

(Security handlers of revision 3 or greater) Fill in existing interactive form fields (including signature fields), even if bit 6 is clear.

public static final DocumentPermissions MODIFICATION

Modify the contents of the document by operations other than those controlled by bits 6, 9, and 11.

public static final DocumentPermissions PRINTING

Print the document. See also print_high_quality (Security handlers of revision 3 or greater)

public static final DocumentPermissions PRINT_HIGH_QUALITY

(Security handlers of revision 3 or greater) Print the document to a representation from which a faithful digital copy of the PDF content could be generated. When this bit is clear (and bit 3 is set), printing is limited to a low-level representation of the appearance, possibly of degraded quality.

Public Methods

public static DocumentPermissions valueOf (String name)

public static final DocumentPermissions[] values ()