diff options
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: |