diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2012-03-19 15:56:19 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2012-03-19 15:56:19 +0000 |
commit | c1653ad47548cff23a614559544fe0b0aec3522d (patch) | |
tree | 07a0ab82acf33280d8560bf0e5d33fe683415f1b /src/documentation | |
parent | 0e6c4648996b5bfd38330129fcdfaaa72f86b09c (diff) | |
download | xmlgraphics-fop-c1653ad47548cff23a614559544fe0b0aec3522d.tar.gz xmlgraphics-fop-c1653ad47548cff23a614559544fe0b0aec3522d.zip |
Bugzilla #51385: Added configuration option to set the version of the output PDF document.
Patch by Mehdi Houshmand, applied with minor modifications
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1302518 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation')
-rw-r--r-- | src/documentation/content/xdocs/trunk/configuration.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/documentation/content/xdocs/trunk/configuration.xml b/src/documentation/content/xdocs/trunk/configuration.xml index cd1e1dfc3..10769c5ff 100644 --- a/src/documentation/content/xdocs/trunk/configuration.xml +++ b/src/documentation/content/xdocs/trunk/configuration.xml @@ -395,6 +395,18 @@ <noprinthq/> </encryption-params> </renderer>]]></source> + <p> + By default FOP produces PDF files of version 1.4, but this can be changed in order to benefit + from features that appeared in newer versions of PDF. At the moment, only a few features from + PDF 1.5 have been implemented, but the configuration element will accept any value between + 1.4 and 1.7. This is the value that will appear in the PDF header, although only features up + to 1.5 will actually be used. + <source><![CDATA[ + <renderer mime="application/pdf"> + <version>1.5</version> + <!-- Versions 1.4, 1.5, 1.6 and 1.7 are accepted, all other values are invalid --> + </renderer>]]></source> + </p> </section> <section id="ps-renderer"> @@ -522,4 +534,4 @@ information it finds. Check if FOP finds what you expect.</li> </section> </body> -</document>
\ No newline at end of file +</document> |