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 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