public class DocMDPPermissions extends Object implements IPDFPermissions
Constructor and Description |
---|
DocMDPPermissions(int permissionLevel)
Create a new DocMDPPermissions object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public DocMDPPermissions(int permissionLevel) throws PDFException
permissionLevel
- The permission level.PDFException
public boolean isAssembleDocumentAllowed()
isAssembleDocumentAllowed
in interface IPDFPermissions
public boolean isChangeDocumentAllowed()
isChangeDocumentAllowed
in interface IPDFPermissions
public boolean isExtractTextGraphicsAllowed()
isExtractTextGraphicsAllowed
in interface IPDFPermissions
public boolean isExtractTextGraphicsForAccessibilityAllowed()
isExtractTextGraphicsForAccessibilityAllowed
in interface IPDFPermissions
public boolean isFillFormFieldsAllowed()
isFillFormFieldsAllowed
in interface IPDFPermissions
public boolean isModifyAnnotsAllowed()
isModifyAnnotsAllowed
in interface IPDFPermissions
public boolean isPrintAllowed()
isPrintAllowed
in interface IPDFPermissions
public boolean isPrintHighResAllowed()
isPrintHighResAllowed
in interface IPDFPermissions