|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qoppa.pdf.permissions.DocMDPPermissions
public class DocMDPPermissions
This class contains information about the DocMDP (Document modification detection and prevention)
permissions. These permissions are applied when the document contains a certifying signature.
DocMDP certifying signatures have one of three permission levels.
- 1 Does not allow any changes.
- 2 Allows filling in existing form fields and signatures.
- 3 Allows filling in existing form fields and signatures, and creating, deleting, and modifying annotations.
| Constructor Summary | |
|---|---|
DocMDPPermissions(int permissionLevel)
Create a new DocMDPPermissions object. |
|
| Method Summary | |
|---|---|
boolean |
isAssembleDocumentAllowed()
DocMDP does not allow assembling the document. |
boolean |
isChangeDocumentAllowed()
DocMDP does not allow changing the document. |
boolean |
isExtractTextGraphicsAllowed()
DocMDP always allows extracting text graphics. |
boolean |
isExtractTextGraphicsForAccessibilityAllowed()
DocMDP always allows extracting text graphics for accessibility. |
boolean |
isFillFormFieldsAllowed()
DocMDP permission levels 2 and 3 allow filling existing form fields and signatures. |
boolean |
isModifyAnnotsAllowed()
DocMDP permission level 3 allows annotations to be created, deleted, and modified. |
boolean |
isPrintAllowed()
DocMDP always allows printing. |
boolean |
isPrintHighResAllowed()
DocMDP always allows printing at high resolution. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocMDPPermissions(int permissionLevel)
throws PDFException
permissionLevel - The permission level.
PDFException| Method Detail |
|---|
public boolean isAssembleDocumentAllowed()
isAssembleDocumentAllowed in interface IPDFPermissionspublic boolean isChangeDocumentAllowed()
isChangeDocumentAllowed in interface IPDFPermissionspublic boolean isExtractTextGraphicsAllowed()
isExtractTextGraphicsAllowed in interface IPDFPermissionspublic boolean isExtractTextGraphicsForAccessibilityAllowed()
isExtractTextGraphicsForAccessibilityAllowed in interface IPDFPermissionspublic boolean isFillFormFieldsAllowed()
isFillFormFieldsAllowed in interface IPDFPermissionspublic boolean isModifyAnnotsAllowed()
isModifyAnnotsAllowed in interface IPDFPermissionspublic boolean isPrintAllowed()
isPrintAllowed in interface IPDFPermissionspublic boolean isPrintHighResAllowed()
isPrintHighResAllowed in interface IPDFPermissions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||