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 byte[] | getOwnerKey() This will get the O entry in the standard encryption dictionary. |
public int | getPermissions() This will get the permissions bit mask. |
public int | getRevision() This will return the R entry of the encryption dictionary.
See PDF Reference 1.4 Table 3.14. |
public byte[] | getUserKey() This will get the U entry in the standard encryption dictionary. |
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 | setOwnerKey(byte[] o) This will set the O entry in the standard encryption dictionary. |
public void | setPermissions(int p) This will set the permissions bit mask. |
public void | setRevision(int revision) This will set the R entry of the encryption dictionary.
See PDF Reference 1.4 Table 3.14. |
public void | setUserKey(byte[] u) This will set the U entry in the standard encryption dictionary. |