jPod PDF library

de.intarsys.pdf.crypt
Class AccessPermissionsDocMDP

java.lang.Object
  extended by de.intarsys.pdf.crypt.AccessPermissionsProxy
      extended by de.intarsys.pdf.crypt.AccessPermissionsDocMDP
All Implemented Interfaces:
IAccessPermissions

public class AccessPermissionsDocMDP
extends AccessPermissionsProxy


Constructor Summary
AccessPermissionsDocMDP(IAccessPermissions permissions, PDTransformParams parameters)
           
 
Method Summary
 PDTransformParams getParameters()
           
 boolean mayAssemble()
          Assemble the document: insert, rotate or delete pages and create bookmarks or thumbnail images.
 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)
 
Methods inherited from class de.intarsys.pdf.crypt.AccessPermissionsProxy
getDelegate, mayCopy, mayExtract, mayPrint, mayPrintHighQuality
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessPermissionsDocMDP

public AccessPermissionsDocMDP(IAccessPermissions permissions,
                               PDTransformParams parameters)
Method Detail

getParameters

public PDTransformParams getParameters()

mayAssemble

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

Specified by:
mayAssemble in interface IAccessPermissions
Overrides:
mayAssemble in class AccessPermissionsProxy
Returns:
if the document may be assembled

mayFillForm

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

Specified by:
mayFillForm in interface IAccessPermissions
Overrides:
mayFillForm in class AccessPermissionsProxy
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

Specified by:
mayModify in interface IAccessPermissions
Overrides:
mayModify in class AccessPermissionsProxy
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)

Specified by:
mayModifyAnnotation in interface IAccessPermissions
Overrides:
mayModifyAnnotation in class AccessPermissionsProxy
Returns:
if annotations may be modified

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.