aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/0.91/pdfencryption.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/documentation/content/xdocs/0.91/pdfencryption.xml')
-rwxr-xr-xsrc/documentation/content/xdocs/0.91/pdfencryption.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/documentation/content/xdocs/0.91/pdfencryption.xml b/src/documentation/content/xdocs/0.91/pdfencryption.xml
index f0d717f18..2c7742d8d 100755
--- a/src/documentation/content/xdocs/0.91/pdfencryption.xml
+++ b/src/documentation/content/xdocs/0.91/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: