Re: Different Page Layout every xx document sheet

2012-02-27 Thread Chris Bowditch
On 26/02/2012 16:01, Rob Sargent wrote: Hi Rob, OK, you've convinced me that you cannot do what you're hoping to accomplish in apache FOP. You cannot have a zero-sized flow on a page far as I know and that's what you would need to get the address only on those pages (in some static region).

Re: Different Page Layout every xx document sheet

2012-02-27 Thread Rob Sargent
Chris, This is interesting and I may even join those dare-devils out on the edge (I currently have a layout which should have been all region-before, but had to include some region-body to keep fop happy. So I may revisit this, but in truth I don't follow the reference a region part.) But

Re: Different Page Layout every xx document sheet

2012-02-27 Thread Chris Bowditch
On 27/02/2012 15:37, Rob Sargent wrote: Chris, Hi Rob, This is interesting and I may even join those dare-devils out on the edge (I currently have a layout which should have been all region-before, but had to include some region-body to keep fop happy. So I may revisit this, but in truth

Re: Different Page Layout every xx document sheet

2012-02-27 Thread Rob Sargent
And I am thankful for the correction. Honest. Now I have to steel myself to venture out to the trunk. On 02/27/2012 09:45 AM, Chris Bowditch wrote: On 27/02/2012 15:37, Rob Sargent wrote: Chris, Hi Rob, This is interesting and I may even join those dare-devils out on the edge (I

Re: Different Page Layout every xx document sheet

2012-02-27 Thread Alexios Giotis
Rob thank you for all your replies. The suggestion with iText, if I understood correctly, assumes that the front page of every 7th sheet will contain only the address. So, I could insert the address pages. But in reality, the address is only a horizontal area of the page. Above and below that

Re: Different Page Layout every xx document sheet

2012-02-27 Thread Rob Sargent
Well you're slowly spilling the beans here Alexios :) What you need is a region-body with a hole in it. Good luck with that! If by some miracle your lines can be found in a for-each AND you get the same number of data lines per page you stand a chance at having an xsl solution: xsl:if

Re: Different Page Layout every xx document sheet

2012-02-27 Thread Rob Sargent
mod(position(), $correct-count) = 0 of course! On 02/26/2012 02:46 PM, Alexios Giotis wrote: Rob thank you for all your replies. The suggestion with iText, if I understood correctly, assumes that the front page of every 7th sheet will contain only the address. So, I could insert the address

RE: Different Page Layout every xx document sheet

2012-02-27 Thread Bartlett, Frederick H. - Hoboken
PM To: fop-users@xmlgraphics.apache.org Subject: Re: Different Page Layout every xx document sheet Rob thank you for all your replies. The suggestion with iText, if I understood correctly, assumes that the front page of every 7th sheet will contain only the address. So, I could insert

Re: Different Page Layout every xx document sheet

2012-02-26 Thread Alexios Giotis
The number of groups of seven is not known in advance, it depends on the input data but the total number of pages will be less than 100. The use case is like this: We are printing statements (transactional data) and each statement has a different number of pages depending on the customer. Each

Re: Different Page Layout every xx document sheet

2012-02-26 Thread Rob Sargent
OK, you've convinced me that you cannot do what you're hoping to accomplish in apache FOP. You cannot have a zero-sized flow on a page far as I know and that's what you would need to get the address only on those pages (in some static region). This is not the trick I hinted at but might be a

Re: Different Page Layout every xx document sheet

2012-02-26 Thread Luis Bernardo
Note: the seven_plus_pages page-sequence-master is there by mistake (and does nothing)... On 2/26/12 11:58 PM, Luis Bernardo wrote: Well, if you know the number of pages is less than 100 and want an ugly suggestion, then the attached one works... On 2/26/12 12:06 PM, Alexios Giotis

Re: Different Page Layout every xx document sheet

2012-02-25 Thread Rob Sargent
Re-reading (and quite likely stilll not fully inderstanding) the repeatable-page-master reference et al, I'm inclined to agree with Luis. If you know how many groups of seven you will be making, I can give you a suggestion from something that is working for me. It amounts to making as many

Re: Different Page Layout every xx document sheet

2012-02-24 Thread Luis Bernardo
I am afraid that this layout is not possible with the current FOP but I think it should be possible with a fully compliant implementation of FO, at least the way I understand it. In any case, I would like to be proven wrong... The issue is with the first page of every 7th sheet. Maybe it

Re: Different Page Layout every xx document sheet

2012-02-23 Thread Rob Sargent
OK, then I believe you can define each needed simple-page-master: first, second-sixth, seventh and make a page-sequence-master with a repeatable-page-master-alternative with a reference to each of the seven pages in the sequence. Not sure if the 2-6 can be in a

Different Page Layout every xx document sheet

2012-02-22 Thread Maria Manta
Hello! We have to create a pdf document and each page will have a different layout as follows: * The first page has its own layout. * The second page has its own layout and this is where a big table starts. * Every 7th sheet (page num 13, 25, 37, 49, 61, etc.), the page has its own layout.

Re: Different Page Layout every xx document sheet

2012-02-22 Thread Rob Sargent
Will you be addressing the static regions of the seventh pages differently from one another. In other words does e.g. region-before or page 13 get the same content as region-before on page 25? On 02/22/2012 08:20 AM, Maria Manta wrote: Hello! We have to create a pdf document and each page