|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qoppa.pdf.permissions.UsageRightsPermissions
public class UsageRightsPermissions
This class contains information about Usage Rights. Usage rights are used by PDF documents that have been "Adobe Reader Enabled", they protect the document from most changes while still allowing modifications to annotations and in some cases filling existing form fields. Enforcing Usage Rights permissions when manipulating a document will preserve the "Adobe Reader Enablement" status and avoid a warning message when opening the document in Adobe Reader. If not concerned with the Adobe Reader Enablement status, it is possible to simply clear the Usage Rights permissions.
| Constructor Summary | |
|---|---|
UsageRightsPermissions(boolean formFill)
Construct a new UsageRights instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UsageRightsPermissions(boolean formFill)
formFill - Set to true if form fill is allowed.| 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 | |||||||||