public class CPDFDocumentPermissionInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
isAllowsCommenting()
Whether to allow creating or modifying document annotations, including form field entries.
|
boolean |
isAllowsCopying()
Whether to allow copying of content to the Pasteboard.
|
boolean |
isAllowsDocumentAssembly()
Whether to allow to manage a document by inserting, deleting, and rotating pages.
|
boolean |
isAllowsDocumentChanges()
Whether to allow document changes.
|
boolean |
isAllowsFormFieldEntry()
Whether to allow modifying form field entries even if you can't edit document annotations.
|
boolean |
isAllowsHighQualityPrinting()
Whether to allow high-quality printing.
|
boolean |
isAllowsPrinting()
Whether to allow printing.
|
void |
setAllowsCommenting(boolean allow)
Set whether to allow commenting.
|
void |
setAllowsCopying(boolean allow)
Set whether to allow copying of content to the Pasteboard.
|
void |
setAllowsDocumentAssembly(boolean allow)
Set whether to allow document assembly.
|
void |
setAllowsDocumentChanges(boolean allow)
Set whether to allow document changes.
|
void |
setAllowsFormFieldEntry(boolean allow)
Set whether to allow form field entry.
|
void |
setAllowsHighQualityPrinting(boolean allow)
Set whether to allow high-quality printing.
|
void |
setAllowsPrinting(boolean allows)
Set whether to allow printing.
|
java.lang.String |
toString() |
public boolean isAllowsPrinting()
public void setAllowsPrinting(boolean allows)
allows
- whether to allow printing.public boolean isAllowsHighQualityPrinting()
public void setAllowsHighQualityPrinting(boolean allow)
allow
- whether to allow high-quality printing.public boolean isAllowsCopying()
public void setAllowsCopying(boolean allow)
allow
- whether to allow copying of content to the Pasteboard.public boolean isAllowsDocumentChanges()
public void setAllowsDocumentChanges(boolean allow)
allow
- whether to allow document changes.public boolean isAllowsDocumentAssembly()
public void setAllowsDocumentAssembly(boolean allow)
allow
- whether to allow document assembly.public boolean isAllowsCommenting()
public void setAllowsCommenting(boolean allow)
allow
- whether to allow commenting.public boolean isAllowsFormFieldEntry()
public void setAllowsFormFieldEntry(boolean allow)
allow
- whether to allow form field entry.public java.lang.String toString()
toString
in class java.lang.Object