RE: Different Page Layout every xx document sheet

2012-02-27 Thread Bartlett, Frederick H. - Hoboken
Alex, Were I you, I would use TeX instead of fop. There are versions of TeX that can take XML input; but if your input is simple enough, TeX can parse it itself. TeX has the advantage of knowing where it is on the page and where the page is in the document; xsl:fo, by design, does not. On the

Re: Generating a PDF by drawing to PDFDocumentGraphics2D

2012-02-27 Thread Luis Bernardo
Yes, it is possible but it is certainly an uncommon way to use the FOP code! Attached is an example, together with a font configuration file, and the output. The example is a slightly edited version of the ExampleJava2D2PDF.java of the emdedding package (in example/embedding/java). The exampl

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 pa

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: On 02/26

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 a

Shipping fop with complex script support

2012-02-27 Thread Jonathan Levinson
We are looking to bundle fop with its new complex script support with a reporting package that will be deployed at many institutions and many hospitals. We support many hospitals in the Middle East and they will be affected. I'm looking for advice on when I should take a time-slice of the trun

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 current

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
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.) B

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).