public final class PdfPermissions extends Object
Represents user's permissions for a pdf document.
Modifier and Type | Field and Description |
---|---|
static int |
AssembleDocument
Security handlers of revision 3 or greater.
|
static int |
ExtractContent
Security handlers of revision 2.
|
static int |
ExtractContentWithDisabilities
Security handlers of revision 3 or greater.
|
static int |
FillForm
Security handlers of revision 3 or greater.
|
static int |
ModifyContent
Modify the contents of the content by operations other
than those controlled by
ModifyTextAnnotations , FillForm . |
static int |
ModifyTextAnnotations
Add or modify text annotations, fill in interactive form fields,
and, if
ModifyContent is also set,
create or modify interactive form fields (including signature fields). |
static int |
PrintDocument
Security handlers of revision 2.
|
static int |
PrintingQuality
Security handlers of revision 3 or greater.
|
public static final int PrintDocument
Security handlers of revision 2. Print the content. Security handlers of revision 3 or greater.
Print the content (possibly not at the highest quality level,
depending on whether PrintingQuality
is also set).
public static final int ModifyContent
Modify the contents of the content by operations other
than those controlled by ModifyTextAnnotations
, FillForm
.
public static final int ExtractContent
Security handlers of revision 2. Copy or otherwise extract text and graphics from the content,
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 content by operations other than that controlled by
ExtractContentWithDisabilities
.
public static final int ModifyTextAnnotations
Add or modify text annotations, fill in interactive form fields,
and, if ModifyContent
is also set,
create or modify interactive form fields (including signature fields).
public static final int FillForm
Security handlers of revision 3 or greater.
Fill in existing interactive form fields
(including signature fields), even if ModifyTextAnnotations
is clear.
public static final int ExtractContentWithDisabilities
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 int AssembleDocument
Security handlers of revision 3 or greater.
Assemble the content (insert, rotate, or delete pages and create bookmarks or thumbnail images),
even if ModifyContent
is clear.
public static final int PrintingQuality
Security handlers of revision 3 or greater. Print the content 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.
Copyright © 2020. All rights reserved.