[aXSL-commit] SF.net SVN: axsl: [430] trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-03-13 20:33:39
|
Revision: 430 Author: victormote Date: 2006-03-13 12:33:34 -0800 (Mon, 13 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=430&view=rev Log Message: ----------- Add needed methods. Modified Paths: -------------- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java Modified: trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java =================================================================== --- trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java 2006-03-13 19:46:23 UTC (rev 429) +++ trunk/axsl/axsl-pdf/src/java/org/axsl/pdf/PDFEncryption.java 2006-03-13 20:33:34 UTC (rev 430) @@ -25,4 +25,48 @@ */ public interface PDFEncryption { + /** + * Sets the owner password for the PDF. + * @param value The owner password. + */ + public void setOwnerPassword(String value) ; + + /** + * Sets the user password for the PDF. + * @param value The user password. + */ + public void setUserPassword(String value) ; + + /** + * Sets whether the document will allow printing. + * @param value Set to true to allow printing. + */ + public void setAllowPrint(boolean value) ; + + /** + * Sets whether the document will allow the content to be extracted from + * the PDF document. + * @param value Set to true to allow content extraction. + */ + public void setAllowCopyContent(boolean value) ; + + /** + * Sets whether the document will allow its content to be edited. + * @param value Set to true to allow the document content to be edited. + */ + public void setAllowEditContent(boolean value) ; + + /** + * Sets whether the document will its annotations to be edited. + * @param value Set to true to allow the document annotations to be edited. + */ + public void setAllowEditAnnotation(boolean value) ; + + /** + * Initializes the encryption algorithms and values. This method should be + * run only after the various "set" methods have been called. + * TODO: This method should probably be removed. + */ + public void init() ; + } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |