RE: One Page DOcument

2006-10-18 Thread Pascal Sancho
-Original Message- From: mikevn123 [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 11:27 PM I have a similar problem as to the one posted before. I've setup two page masters, one to be used for page-position=any and another to be used for page-position=last. When my

RE: One Page DOcument

2006-10-18 Thread Pascal Sancho
=115700779613800w=2 -Original Message- From: mikevn123 [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 2:14 PM To: fop-users@xmlgraphics.apache.org Subject: RE: One Page DOcument I have a similar problem as to the one posted before. I've setup two page masters, one

RE: One Page DOcument

2006-10-18 Thread mikevn123
with fo:marker should be a workaround. Pascal [1] http://marc.theaimsgroup.com/?l=fop-userm=115700779613800w=2 -Original Message- From: mikevn123 [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 2:14 PM To: fop-users@xmlgraphics.apache.org Subject: RE: One Page

Re: One Page DOcument

2006-10-18 Thread Andreas L Delmelle
On Oct 18, 2006, at 15:56, mikevn123 wrote: I've used the fo:marker logic with FOP 0.20.5, however 0.92beta does not allow fo:tables within markers. FYI: this has been fixed in FOP Trunk, and so will be available in the next release. Cheers, Andreas

Re: One Page DOcument

2006-10-18 Thread J.Pietschmann
mikevn123 wrote: fo:conditional-page-master-reference page-position=last master-reference=last-page/ fo:conditional-page-master-reference page-position=any master-reference=default-page / The spec says the page master reference first matching the position is used, in case of

Re: One Page DOcument

2006-10-17 Thread mikevn123
I have a similar problem as to the one posted before. I've setup two page masters, one to be used for page-position=any and another to be used for page-position=last. When my document is rendered, and it is two or more pages, it works great. When my document is rendered and it is only one page,

Re: One Page DOcument

2006-08-31 Thread Felipe Villarinho
On 8/31/06, Jeremias Maerki [EMAIL PROTECTED] wrote: Either you know yourself from the amount of textif you get beyond the first page, or you have to take a two-phaseapproach. In the first step, you simply render the document to know howmany pages you get and then you render it again and write a

Re: One Page DOcument

2006-08-31 Thread Jeremias Maerki
You simply run FOP twice. There's two possibilities to approach that: 1. If you're doing this in Java, you can retrieve the number of pages generated through the Fop object. See http://xmlgraphics.apache.org/fop/0.92/embedding.html#render-info for more info. 2. In the first run, you can