You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2004/02/27 23:00:03 UTC

[WIKI-UPDATE] FOPPDFEncryption Fri Feb 27 23:00:03 2004

Page: http://wiki.cocoondev.org/Wiki.jsp?page=FOPPDFEncryption , version: 3 on Fri Feb 27 21:12:10 2004 by TorstenCurdt

- You can either configure the FOPSerializer like this (since 2.1.5-dev)
?        -------

+ You can configure the FOPSerializer like this (since 2.1.5-dev)
- or you use an external user config file
- 
- {{{
- <map:serializer name="fo2pdf"
-                 src="org.apache.cocoon.serialization.FOPSerializer"
-                 mime-type="application/pdf">
-   <user-config>D:/fop-fonts/config.xml</user-config>
- </map:serializer>
- }}}
- 
- which needs to look like this (untested!)
- 
- {{{
- <configuration>
-   <entry>
-     <key>ownerPassword</key><value>mypassword</value>
-   </entry>
-   <entry>
-     <key>allowCopyContent</key><value>FALSE</value>
-   </entry>
-   <entry>
-     <key>allowEditContent</key><value>FALSE</value>
-   </entry>
-   <entry>
-     <key>allowPrint</key><value>FALSE</value>
-   </entry>
-   <entry>
-     <key>allowEditAnnotations</key><value>FALSE</value>
-   </entry>
- </configuration>
- }}}
-