public final class PdfPermissions extends Object
Represents user's permissions for a pdf document.
Modifier and Type | Field and Description |
---|---|
static int |
AssembleDocument
Assemble the content.
|
static int |
ExtractContent
Copy or otherwise extract text and graphics from the document.
|
static int |
ExtractContentWithDisabilities
Extract text and graphics.
|
static int |
FillForm
Fill in existing interactive form fields.
|
static int |
ModifyContent
Modify the content.
|
static int |
ModifyTextAnnotations
Add or modify text annotations.
|
static int |
PrintDocument
Print the content.
|
static int |
PrintingQuality
Print the content to a representation from which a faithful digital copy of the PDF document could be generated.
|
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
is also set).PdfPermissions.PrintingQuality
public static final int ModifyContent
Modify the contents of the document by operations other
than those controlled by
, PdfPermissions.ModifyTextAnnotations
.PdfPermissions.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
.PdfPermissions.ExtractContentWithDisabilities
public static final int ModifyTextAnnotations
Add or modify text annotations, fill in interactive form fields,
and, if
is also set,
create or modify interactive form fields (including signature fields).PdfPermissions.ModifyContent
public static final int FillForm
Security handlers of revision 3 or greater: Fill in existing interactive form fields
(including signature fields), even if
is clear.PdfPermissions.ModifyTextAnnotations
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
is clear.PdfPermissions.ModifyContent
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 document could be generated. When this bit is clear (and
is set), printing is limited to a low-level representation of the appearance, possibly of degraded quality.PdfPermissions.PrintDocument