SourceForge.net Logo
aXSL API 0.1

org.axsl.pdfW
Interface PDFEncryption


public interface PDFEncryption

Encryption-related items for a PDFDocument.


Method Summary
 void init()
          Initializes the encryption algorithms and values.
 void setAllowCopyContent(boolean value)
          Sets whether the document will allow the content to be extracted from the PDF document.
 void setAllowEditAnnotation(boolean value)
          Sets whether the document will its annotations to be edited.
 void setAllowEditContent(boolean value)
          Sets whether the document will allow its content to be edited.
 void setAllowPrint(boolean value)
          Sets whether the document will allow printing.
 void setOwnerPassword(java.lang.String value)
          Sets the owner password for the PDF.
 void setUserPassword(java.lang.String value)
          Sets the user password for the PDF.
 

Method Detail

setOwnerPassword

public void setOwnerPassword(java.lang.String value)
Sets the owner password for the PDF.

Parameters:
value - The owner password.

setUserPassword

public void setUserPassword(java.lang.String value)
Sets the user password for the PDF.

Parameters:
value - The user password.

setAllowPrint

public void setAllowPrint(boolean value)
Sets whether the document will allow printing.

Parameters:
value - Set to true to allow printing.

setAllowCopyContent

public void setAllowCopyContent(boolean value)
Sets whether the document will allow the content to be extracted from the PDF document.

Parameters:
value - Set to true to allow content extraction.

setAllowEditContent

public void setAllowEditContent(boolean value)
Sets whether the document will allow its content to be edited.

Parameters:
value - Set to true to allow the document content to be edited.

setAllowEditAnnotation

public void setAllowEditAnnotation(boolean value)
Sets whether the document will its annotations to be edited.

Parameters:
value - Set to true to allow the document annotations to be edited.

init

public void init()
Initializes the encryption algorithms and values. This method "locks" the data that has been set, and should be run only after the various "set" methods have been called.


SourceForge.net Logo
aXSL API 0.1

This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.