com.aspose.diagram
Class PdfPermissions

java.lang.Object
    extended by com.aspose.diagram.PdfPermissions

public class PdfPermissions 
extends java.lang.Object

Utility class containing constants. Specifies user permissions for PDF document.


Field Summary
static final intDISALLOW_ALL
           Disallows all operations on the PDF document. This is the default value.
static final intPRINTING
           Allows printing the document.
static final intMODIFY_CONTENTS
           Allows modifying the document’s contents.
static final intCONTENT_COPY
           Allows copying or otherwise extracting text and graphics from the document, including extraction for accessibility purposes.
static final intMODIFY_ANNOTATIONS
           Allows adding or modifying text annotations. When using RC4 40-bit encryption, this option also allows filling in form fields.
static final intFILL_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 ModifyAnnotations is set.
static final intCONTENT_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 ContentCopy is set.
static final intDOCUMENT_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 ModifyContents is set.
static final intHIGH_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 Printing is set.
static final intALLOW_ALL
           Allows all operations on the PDF document.
 

Field Detail

DISALLOW_ALL

public static final int DISALLOW_ALL
Disallows all operations on the PDF document. This is the default value.

PRINTING

public static final int PRINTING
Allows printing the document.

MODIFY_CONTENTS

public static final int MODIFY_CONTENTS
Allows modifying the document’s contents.

CONTENT_COPY

public static final int CONTENT_COPY
Allows copying or otherwise extracting text and graphics from the document, including extraction for accessibility purposes.

MODIFY_ANNOTATIONS

public 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.

FILL_IN

public 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 ModifyAnnotations is set.

CONTENT_COPY_FOR_ACCESSIBILITY

public 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 ContentCopy is set.

DOCUMENT_ASSEMBLY

public 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 ModifyContents is set.

HIGH_RESOLUTION_PRINTING

public 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 Printing is set.

ALLOW_ALL

public static final int ALLOW_ALL
Allows all operations on the PDF document.

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.