intarsys PDF library API

de.intarsys.pdf.crypt
Class AccessPermissionsR2

java.lang.Object
  extended by de.intarsys.pdf.pd.AbstractBitFlags
      extended by de.intarsys.pdf.crypt.AbstractAccessPermissions
          extended by de.intarsys.pdf.crypt.AccessPermissionsR2
All Implemented Interfaces:
IAccessPermissions

public class AccessPermissionsR2
extends AbstractAccessPermissions

The access permission flags as of /Standard handler, release 2 spec.


Field Summary
 
Fields inherited from class de.intarsys.pdf.crypt.AbstractAccessPermissions
Bit_Assemble, Bit_Copy, Bit_Extract, Bit_FillForm, Bit_Modify, Bit_ModifyAnnotation, Bit_Print, Bit_PrintHighQuality
 
Constructor Summary
AccessPermissionsR2(StandardSecurityHandler handler)
           
 
Method Summary
 boolean mayAssemble()
          Assemble the document: insert, rotate or delete pages and create bookmarks or thumbnail images.
 boolean mayCopy()
          Copy or otherwise extract text and graphics from the document in support of accessibility to disabled users or for other purposes.
 boolean mayExtract()
          Extract text and graphics (in support of accessibility to disabled users or for other purposes)
 boolean mayFillForm()
          Fill in existing interactive form fields (including signature fields)
 boolean mayModify()
          Modify the contents of the document by operations other than those controlled by mayModifyAnnotation and mayFillForm
 boolean mayModifyAnnotation()
          Add or modify text annotations, fill in interactice form fields, and if mayModify is set, create or modify interactive form fields (including signature fields)
 boolean mayPrint()
          Print the document
 boolean mayPrintHighQuality()
          Print the document to a representation from which a faithful digital copy of the PDF content could be generated.
 
Methods inherited from class de.intarsys.pdf.crypt.AbstractAccessPermissions
getHandler
 
Methods inherited from class de.intarsys.pdf.pd.AbstractBitFlags
isSetAnd, isSetOr
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessPermissionsR2

public AccessPermissionsR2(StandardSecurityHandler handler)
Method Detail

mayAssemble

public boolean mayAssemble()
Description copied from interface: IAccessPermissions
Assemble the document: insert, rotate or delete pages and create bookmarks or thumbnail images.

Returns:
if the document may be assembled

mayCopy

public boolean mayCopy()
Description copied from interface: IAccessPermissions
Copy or otherwise extract text and graphics from the document in support of accessibility to disabled users or for other purposes.

Returns:
if parts of the document may be copied

mayExtract

public boolean mayExtract()
Description copied from interface: IAccessPermissions
Extract text and graphics (in support of accessibility to disabled users or for other purposes)

Returns:
if parts of the document may be extracted

mayFillForm

public boolean mayFillForm()
Description copied from interface: IAccessPermissions
Fill in existing interactive form fields (including signature fields)

Returns:
if form fields may be filled

mayModify

public boolean mayModify()
Description copied from interface: IAccessPermissions
Modify the contents of the document by operations other than those controlled by mayModifyAnnotation and mayFillForm

Returns:
if document may be modified

mayModifyAnnotation

public boolean mayModifyAnnotation()
Description copied from interface: IAccessPermissions
Add or modify text annotations, fill in interactice form fields, and if mayModify is set, create or modify interactive form fields (including signature fields)

Returns:
if annotations may be modified

mayPrint

public boolean mayPrint()
Description copied from interface: IAccessPermissions
Print the document

Returns:
if the document may be printed

mayPrintHighQuality

public boolean mayPrintHighQuality()
Description copied from interface: IAccessPermissions
Print the document to a representation from which a faithful digital copy of the PDF content could be generated. When this premission is not set and mayPrint is set, printing is limited to a low-level representation of the appearance, possibly of degraded quality.

Returns:
if the document may be high quality printed

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.