PdfPermissions

Contents
[ ]

Inheritance: java.lang.Object

public final class PdfPermissions

Specifies user permissions for PDF document.

Fields

Field Description
ALLOW_ALL Allows all operations on the PDF document.
CONTENT_COPY Allows copying or otherwise extracting text and graphics from the document, including extraction for accessibility purposes.
CONTENT_COPY_FOR_ACCESSIBILITY Allows extract text and graphics in support of accessibility to disabled users or for other purposes.
DISALLOW_ALL Disallows all operations on the PDF document.
DOCUMENT_ASSEMBLY Allows assembling the document: inserting, rotating, or deleting pages and creating navigation elements such as bookmarks or thumbnail images.
FILL_IN Allows filling in forms and signing the document.
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.
MODIFY_ANNOTATIONS Allows adding or modifying text annotations.
MODIFY_CONTENTS Allows modifying the document\u9225\u6a9a contents.
PRINTING Allows printing the document.

Methods

Method Description
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ALLOW_ALL

public static final int ALLOW_ALL

Allows all operations on the PDF document.

CONTENT_COPY

public static final int CONTENT_COPY

Allows copying or otherwise extracting text and graphics from the document, including extraction for accessibility purposes.

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.

DISALLOW_ALL

public static final int DISALLOW_ALL

Disallows all operations on the PDF document. This is the default value.

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.

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.

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.

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.

MODIFY_CONTENTS

public static final int MODIFY_CONTENTS

Allows modifying the document\u9225\u6a9a contents.

PRINTING

public static final int PRINTING

Allows printing the document.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int