public class UsageRightsPermissions extends Object implements IPDFPermissions
| Constructor and Description |
|---|
UsageRightsPermissions(boolean formFill)
Construct a new UsageRights instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAssembleDocumentAllowed()
Usage rights never allow assembling the document.
|
boolean |
isChangeDocumentAllowed()
Usage Rights never allow changing the document.
|
boolean |
isExtractTextGraphicsAllowed()
Usage Rights always allow extracting text graphics.
|
boolean |
isExtractTextGraphicsForAccessibilityAllowed()
Usage Rights always allow extracting text graphics for accessibility.
|
boolean |
isFillFormFieldsAllowed()
Returns true if the Usage Rights allow filling existing form fields and signatures.
|
boolean |
isModifyAnnotsAllowed()
Usage Rights always allow modifying annotations.
|
boolean |
isPrintAllowed()
Usage Rights always allow printing.
|
boolean |
isPrintHighResAllowed()
Usage Rights always allow printing in high resolution.
|
public UsageRightsPermissions(boolean formFill)
formFill - Set to true if form fill is allowed.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