try this:
?xml version=1.0 encoding=utf-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master master-name='simple'
page-height='246mm'
page-width='349mm'
margin-top='10mm'margin-bottom='10mm'
margin-left='10mm'
Hi,
I have a large table that spans many pages. I need some way or
detecting a page break before it happens so that I can write
continued... at the bottom of the table.
How can I go about doing this?
Thanks in advance!
Regards,
Trevor.
Thanks for the ant tip Eric. The following build.xml does the trick
for the fop part of my process. I notice that the process is much
faster: 1 minute 45 seconds for 52 pdf documents. Before it was
taking anywhere from 8 to 11 minutes.
Here is my build.xml file:
?xml version=1.0
Glenn Brand wrote:
I have a graphic that is rendering at a low resolution. See below in the
last several lines. How do I get the image to render at a higher
resolution?
When including an image via fo:external-graphic tag the resolution can
be controlled by making the content-width/height
Terry Ofner wrote:
I have not studied how to include the XSLT transformation. Here is how
it would go:
source XML document xslt transform via saxon (xslt 2.0) --- 50+ .fo
documents ---fop---50+ pdf documents.
The xslt automatically produces the 50 fo docs via
xsl:result-document. Would
Jay Bryant wrote:
Try putting the image and text into two different cells in a one-row
table and setting keep-together=always on the row.
A fo:list-block should do the trick too:
http://www.w3.org/TR/xsl/#fo_list-block
J.Pietschmann
Thanks Chris,
I am getting better results but the image still comes in bigger than
what I specifiy and at the lower DPI.
Can you spot the problem from the XSL-FO?
fo:table-cell
border-style=none border-width=0pt background-repeat=no-repeat
Trevor Keast wrote:
I have a large table that spans many pages. I need some way or detecting
a page break before it happens so that I can write continued... at the
bottom of the table.
How can I go about doing this?
You can't detect a page break before it happens. Really, you can't.
There
Glenn Brand wrote:
I am getting better results but the image still comes in bigger than
what I specifiy and at the lower DPI.
Can you spot the problem from the XSL-FO?
...
fo:external-graphic background=transparent width=50pt height=50pt
I think you need
fo:external-graphic