SourceForge.net Logo
aXSL API 0.2

org.axsl.pdf
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

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

Parameters:
value - The owner password.

setUserPassword

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

Parameters:
value - The user password.

setAllowPrint

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

Parameters:
value - Set to true to allow printing.

setAllowCopyContent

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

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

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

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.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.