PDF version specification

2011-03-14 Thread Markus Ruggiero
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

Re: PDF version specification

2011-03-14 Thread mehdi houshmand
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

RE: PDF version specification

2011-03-14 Thread Eric Douglas
PDF readers should be backward compatible. AFAIK there's no reason to write a newer version number unless a newer version adds a feature you need. -Original Message- From: mehdi houshmand [mailto:med1...@gmail.com] Sent: Monday, March 14, 2011 10:10 AM To:

Text in region-start rotated 90 degrees, running the length of the page

2011-03-14 Thread David Cramer
Hi there, I've added a fo:leader in the static-content of region-start of my document. The region-start is rotated 90 degrees. The fo: leader contains text appropriate to the type of document (e.g. DRAFT - CONFIDENTIAL). I want the text repeated for the entire length of the (8.5x11) page all

Re: PDF version specification

2011-03-14 Thread Glenn Adams
I've been working in the background on a patch that adds support for using newer PDF features, including page transitions and option groups, and in this work defined an new element in the FOP CONF file as follows to specify the PDF output version: ?xml version=1.0? fop version=1.0

Re: PDF version specification

2011-03-14 Thread Andreas Delmelle
On 14 Mar 2011, at 19:09, Glenn Adams wrote: I've been working in the background on a patch that adds support for using newer PDF features, including page transitions and option groups, and in this work defined an new element in the FOP CONF file as follows to specify the PDF output

Re: PDF version specification

2011-03-14 Thread Zac Nichol
Hi. I'm very new to FOP and xml-fo. I want to flow data into 2 different regions (region-body and region-before). is this possible? when i do it, FOP complains that For fo:page-sequence, only one fo:flow may be declared. It seems weird to me that you can have many fo:static-content objects

Re: PDF version specification

2011-03-14 Thread Zac Nichol
woops this should have been a new thread and not a reply to Markus. sorry for the confusion :P On Mon, Mar 14, 2011 at 2:48 PM, Zac Nichol zacnic...@gmail.com wrote: Hi. I'm very new to FOP and xml-fo. I want to flow data into 2 different regions (region-body and region-before).  is this

RE: PDF version specification

2011-03-14 Thread Eric Douglas
Yes you can only have one flow. You don't have to use more than one region. If you want to place data in 2 different areas of the page using the flow you define separate blocks. You can have as many blocks and block containers as you like. Normally a block starts where the last one ended. If you

RE: Flow data in 2 different regions?

2011-03-14 Thread Eric Douglas
I use the position=absolute attribute. With that there are attributes for left, top, width, and height. I set them all but they may be optional. If you just leave out height does it spill to the next page? If not, that could get complicated trying to wrap text to a new page. My case is the

Re: Flow data in 2 different regions?

2011-03-14 Thread Andreas Delmelle
On 14 Mar 2011, at 20:09, Eric Douglas wrote: Hi Eric I use the position=absolute attribute. With that there are attributes for left, top, width, and height. I set them all but they may be optional. If you just leave out height does it spill to the next page? Nope. :-( If height=auto,

RE: Flow data in 2 different regions?

2011-03-14 Thread Eric Douglas
That's basically what I do, all precomputed data. Most people do one extreme or the other, either calculating what fits on a page and forcing all text into specific areas, or flowing everything (book printing). It is rare you would want to flow everything over like a book on 2 areas. Of course I