From the javadocs:
Sets the encryption options for this document. The userPassword and the
ownerPassword can be null or have zero length. In this case the ownerPassword
is replaced by a random string. The open permissions for the document can be
AllowPrinting, AllowModifyContents, AllowCopy, AllowModifyAnnotations,
AllowFillIn, AllowScreenReaders, AllowAssembly and AllowDegradedPrinting.
The permissions can be combined by ORing them.
Best Regards,
Paulo Soares
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Wendy Smoak
Sent: Tuesday, February 17, 2004 21:58
To: [EMAIL PROTECTED]
Subject: [iText-questions] setEncryption question
I need help with PdfWriter.setEncryption. What are the options for the
'permissions' parameter, which is an integer?
<http://itext.sourceforge.net/docs/com/lowagie/text/pdf/PdfWriter.html#setEn
cryption(boolean,%20java.lang.String,%20java.lang.String,%20int)>
Thanks!
Wendy Smoak
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions