Method Summary |
|
public boolean | canAssembleDocument() This will tell if the user can insert/rotate/delete pages. |
public boolean | canExtractContent() This will tell if the user can extract text and images from the PDF document. |
public boolean | canExtractForAccessibility() This will tell if the user can extract text and images from the PDF document
for accessibility purposes. |
public boolean | canFillInForm() This will tell if the user can fill in interactive forms. |
public boolean | canModify() This will tell if the user can modify contents of the document. |
public boolean | canModifyAnnotations() This will tell if the user can add/modify text annotations, fill in interactive forms fields. |
public boolean | canPrint() This will tell if the user can print. |
public boolean | canPrintDegraded() This will tell if the user can print the document in a degraded format. |
public static AccessPermission | getOwnerAccessPermission() returns an access permission object for a document owner. |
public int | getPermissionBytes() The returns an integer representing the access permissions. |
public int | getPermissionBytesForPublicKey() This returns an integer representing the access permissions. |
public boolean | isOwnerPermission() This will tell if the access permission corresponds to owner
access permission (no restriction). |
public boolean | isReadOnly() This will tell if the object has been set as read only. |
public void | setCanAssembleDocument(boolean allowAssembly) Set if the user can insert/rotate/delete pages. |
public void | setCanExtractContent(boolean allowExtraction) Set if the user can extract content from the document. |
public void | setCanExtractForAccessibility(boolean allowExtraction) Set if the user can extract content from the document for accessibility purposes. |
public void | setCanFillInForm(boolean allowFillingInForm) Set if the user can fill in interactive forms. |
public void | setCanModify(boolean allowModifications) Set if the user can modify the document. |
public void | setCanModifyAnnotations(boolean allowAnnotationModification) Set if the user can modify annotations. |
public void | setCanPrint(boolean allowPrinting) Set if the user can print. |
public void | setCanPrintDegraded(boolean allowAssembly) Set if the user can print the document in a degraded format. |
public void | setReadOnly() Locks the access permission read only (ie, the setters will have no effects). |