From 7380943d879bcbe43c9e6a67349fb3679291f220 Mon Sep 17 00:00:00 2001
From: Jeremias Maerki
Encryption is enabled by supplying any of the encryption related options. @@ -59,6 +60,73 @@ text, editing in Adobe Acrobat and making annotations, respectively.
+ When FOP is embedded in another Java application you need to set an + options map on the renderer. These are the supported options: +
+Option | +Description | +Values | +Default | +
---|---|---|---|
ownerPassword | +The owner password | +String | ++ |
userPassword | +The user password | +String | ++ |
allowPrint | +Allows/disallows printing of the PDF | +"TRUE" or "FALSE" | +"TRUE" | +
allowCopyContent | +Allows/disallows copy/paste of content | +"TRUE" or "FALSE" | +"TRUE" | +
allowEditContent | +Allows/disallows editing of content | +"TRUE" or "FALSE" | +"TRUE" | +
allowEditAnnotations | +Allows/disallows editing of annotations | +"TRUE" or "FALSE" | +"TRUE" | +
+ An example to enable PDF encryption in Java code: +
+ +-- 2.39.5