java.lang.Objectcom.aspose.words.PdfPermissions
public class PdfPermissions
Field Summary | ||
---|---|---|
static final int | DISALLOW_ALL | |
Disallows all operations on the PDF document. This is the default value. | ||
static final int | ALLOW_ALL | |
Allows all operations on the PDF document. | ||
static final int | CONTENT_COPY | |
Allows copying or otherwise extracting text and graphics from the document, including extraction for accessibility purposes. | ||
static final int | CONTENT_COPY_FOR_ACCESSIBILITY | |
Allows extract text and graphics in support of accessibility to disabled users or for other purposes.
When using RC4 40-bit encryption, this option is ignored and accessibility is allowed whenever |
||
static final int | MODIFY_CONTENTS | |
Allows modifying the document’s contents. | ||
static final int | MODIFY_ANNOTATIONS | |
Allows adding or modifying text annotations. When using RC4 40-bit encryption, this option also allows filling in form fields. | ||
static final int | FILL_IN | |
Allows filling in forms and signing the document.
When using RC4 40-bit encryption, this option is ignored and filling in form is allowed whenever |
||
static final int | DOCUMENT_ASSEMBLY | |
Allows assembling the document: inserting, rotating, or deleting pages and creating
navigation elements such as bookmarks or thumbnail images.
When using RC4 40-bit encryption, this option is ignored and document assembly is allowed when |
||
static final int | PRINTING | |
Allows printing the document. | ||
static final int | HIGH_RESOLUTION_PRINTING | |
Allows printing the document to the highest resolution possible.
When using RC4 40-bit encryption, this option is ignored and high resolution printing is allowed when |
Field Detail |
---|
DISALLOW_ALL = 0 | |
public static final int DISALLOW_ALL |
ALLOW_ALL = 65535 | |
public static final int ALLOW_ALL |
CONTENT_COPY = 16 | |
public static final int CONTENT_COPY |
CONTENT_COPY_FOR_ACCESSIBILITY = 512 | |
public static final int CONTENT_COPY_FOR_ACCESSIBILITY |
MODIFY_CONTENTS = 8 | |
public static final int MODIFY_CONTENTS |
MODIFY_ANNOTATIONS = 32 | |
public static final int MODIFY_ANNOTATIONS |
FILL_IN = 256 | |
public static final int FILL_IN |
DOCUMENT_ASSEMBLY = 1024 | |
public static final int DOCUMENT_ASSEMBLY |
PRINTING = 4 | |
public static final int PRINTING |
HIGH_RESOLUTION_PRINTING = 2052 | |
public static final int HIGH_RESOLUTION_PRINTING |