determine if block is before page-break

2005-09-27 Thread Prakash R
I have the following fo: fo:block123/fo:block fo:blockxyz/fo:block fo:blockfo:leader//fo:block fo:blockabc/fo:block fo:blockdef/fo:block I want to put the leader only if it is not followed by a page break. Is there a way to determine if fo:leader is followed by page break? Thank you. Prakash

Rép. : Re: FOP improvement up to 30 00%.

2005-09-27 Thread Willy Reinhardt
Hi, I follow-up the discussion with interest and I also made a little test. So I use: - Fop in command line with debug parameter version 0.20.5 - Xerces 2.6.2 or - Crimson 1.1.3 - JDK 1.4.2 - fo file of 2.74 Mo (~50400 lines) - OS Windows / CPU Intel 2.8GHz I call for each parser 10 times the

generating PDF: in tomcat ok, bot not in OC4J

2005-09-27 Thread Thomas Koch
hello !i have a problem to generate pdf's on the a OC4J.in tomcat everything works fine.- so we get the stylesheet from database and generating pdf's.if i do the same on the OC4J i get following error:Servlet error: Error on pdf generation : XSL-1000: (Fatal Error) Errorwhile parsing XSL

Re: determine if block is before page-break

2005-09-27 Thread JBryant
There's no way to detect it, but there is a way to prevent it from happening: Wrap those middle three blocks in a table, with each block going into its own row (and cell). Then specify keep-together on all the rows. Depending on your XSLT code, this can take some extra effort. Sometimes,

more than one fo:flow in fo:page-sequence

2005-09-27 Thread Matthias Treitler
Hey guys! I have had a problem with the latest fop a few days ago. I found out that only one fo:flow is permitted in the fo:page-sequence tag, but the Antenna House FO Parser allows more than one fo:flows! I also think this is the standard made by the W3C! But then: What is if i have a

Re: more than one fo:flow in fo:page-sequence

2005-09-27 Thread Andreas L Delmelle
On Sep 27, 2005, at 20:56, Matthias Treitler wrote: Hi, I have had a problem with the latest fop a few days ago. I found out that only one fo:flow is permitted in the fo:page-sequence tag, but the Antenna House FO Parser allows more than one fo:flows! I also think this is the standard made

Re: more than one fo:flow in fo:page-sequence

2005-09-27 Thread Andreas L Delmelle
On Sep 27, 2005, at 21:05, Andreas L Delmelle wrote: On Sep 27, 2005, at 20:56, Matthias Treitler wrote: Hi, I have had a problem with the latest fop a few days ago. I found out that only one fo:flow is permitted in the fo:page-sequence tag, but the Antenna House FO Parser allows more than

Re: more than one fo:flow in fo:page-sequence

2005-09-27 Thread Andreas L Delmelle
On Sep 27, 2005, at 21:09, Andreas L Delmelle wrote: Or maybe you're referring to the XSL-FO 1.1 Rec, which FOP currently does not implement. Which isn't a 'Rec' yet either BTW... It's still a 'Working Draft'. Where *is* my head at...? :-S Cheers, Andreas

Re: more than one fo:flow in fo:page-sequence

2005-09-27 Thread Matthias Treitler
Hi! But then: What is if i have a region-before, region-body and maybe a region-after on one sheet (not a static-context)?!?   I'm sorry, I can't parse this question... Please clarify. Ok, i want to make a head, a body and a foot part of my site! So i have to implement a

Re: more than one fo:flow in fo:page-sequence

2005-09-27 Thread Glen Mazza
Andreas L Delmelle wrote: Sorry, but I disagree. The content-model of fo:page-sequence is: (title?,static-content*,flow) Or maybe you're referring to the XSL-FO 1.1 Rec, which FOP currently does not implement. There indeed, more than one flow may be put inside a page-sequence, and

Re: more than one fo:flow in fo:page-sequence

2005-09-27 Thread JBryant
Ok, i want to make a head, a body and a foot part of my site! So i have to implement a xsl-region-before, xsl-region-body and xsl-region-after part on my site! You understand?!? But i can only implement a fo:flow flow-name=xsl-region-before or a fo:flow flow-name=xsl-region-body but not

Font embedding FOP dev

2005-09-27 Thread Dirk Bromberg
Hi, i wants to test to switch my project from 20.5 to dev. Now i want to embedd my ttf fonts via the fop.xconf. There i've these entrys: font metrics-url=ArialUNI.xml kerning=yes embed-url=ARIALUNI.TTF font-triplet name=ArialUNI style=normal weight=normal/ /font Now i call: File

Re: more than one fo:flow in fo:page-sequence

2005-09-27 Thread Glen Mazza
Matthias Treitler wrote: Ok, i want to make a head, a body and a foot part of my site! So i have to implement a xsl-region-before, xsl-region-body and xsl-region-after part on my site! You understand?!? But i can only implement a fo:flow flow-name=xsl-region-before or a fo:flow

Re: Font embedding FOP dev

2005-09-27 Thread Andreas L Delmelle
On Sep 27, 2005, at 22:27, Dirk Bromberg wrote: i wants to test to switch my project from 20.5 to dev. Now i want to embedd my ttf fonts via the fop.xconf. snip / but i always get the exception D:\mypath_to_run\ArialUNI.xml FileNotFoundException the Path is not relative to the xconf! it

Re: Font embedding FOP dev

2005-09-27 Thread Manuel Mall
On Wed, 28 Sep 2005 05:07 am, Andreas L Delmelle wrote: On Sep 27, 2005, at 22:27, Dirk Bromberg wrote: i wants to test to switch my project from 20.5 to dev. Now i want to embedd my ttf fonts via the fop.xconf. snip / but i always get the exception D:\mypath_to_run\ArialUNI.xml