Hi Markus,

Unfortunately looking at the code, the PDF version (1.4) is
hard-coded. This is presumably because FOP doesn't support any of the
features of subsequent versions, though I'm sure someone in the
community will be able to tell you the exact reasons for this.

You may be able to change this to 1.6, but either someone else in the
community will be able to help you out there, or I'd suggest looking
at the PDF spec, if PDF is backward compatible you can change the
version with impunity. The PDF version is set in o.a.f.pdf.PDFDocument
line 103. You'll probably have to do something to PDFProfile and add
an extra case in PDFDocument.getPDFVersionString(). But that shouldn't
be too difficult, that is of-course if there aren't any calamitous
affects to do with the PDF spec, which I sadly lack knowledge in.

Hope that helps,

Mehdi

On 14 March 2011 13:46, Markus Ruggiero <[email protected]> wrote:
> When I generate a simple PDF from within my Java app the resulting PDF file 
> says PDF Version 1.4. My customer talks about going to PDF version 1.6 or 
> higher. Is this something I have to explicitly set? Where would I do this? My 
> tests are based on FOP 1.0 and the simple embedding examples from the 
> xmlgraphics website.
>
> Thanks for any enlightening
> ---markus---
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to