diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-01-19 09:55:17 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-01-19 09:55:17 +0000 |
commit | 9a01ca2474cad035c82810d6b541cde6dbd896aa (patch) | |
tree | 87cd16fec29cba8f122f2662e446d4e01c16d721 /src/documentation/content/xdocs/trunk/pdfencryption.xml | |
parent | b9d21be592b59117d843b62b694a6d2ee87fb648 (diff) | |
download | xmlgraphics-fop-9a01ca2474cad035c82810d6b541cde6dbd896aa.tar.gz xmlgraphics-fop-9a01ca2474cad035c82810d6b541cde6dbd896aa.zip |
Fixed a few omissions after the API change.
Thanks to Sébastien Devaux for the hint.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@370454 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs/trunk/pdfencryption.xml')
-rwxr-xr-x | src/documentation/content/xdocs/trunk/pdfencryption.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/documentation/content/xdocs/trunk/pdfencryption.xml b/src/documentation/content/xdocs/trunk/pdfencryption.xml index f0d717f18..2c7742d8d 100755 --- a/src/documentation/content/xdocs/trunk/pdfencryption.xml +++ b/src/documentation/content/xdocs/trunk/pdfencryption.xml @@ -142,7 +142,7 @@ import org.apache.fop.pdf.PDFEncryptionParams; FOUserAgent userAgent = new FOUserAgent(); useragent.setPDFEncryptionParams(new PDFEncryptionParams( null, "password", false, false, true, true)); -Fop fop = new Fop(Constants.RENDER_PDF, userAgent); +Fop fop = new Fop(MimeConstants.MIME_PDF, userAgent); driver.setOutputStream(...]]></source> <p> The parameters for the constructor of PDFEncryptionParams are: |