The XSL-FO style approach would be not to use always for the keep
property but an integer number. But this hasn't been implemented, yet.
On 13.09.2006 21:15:13 cknell wrote:
I' recently back to working with FOP. I have a document that consists of
a number of tables with widely-varying numbers
Hi
I'm not an experienced user, but have you tried keep-with-next? It did work
for me, although with other undesired side-effects (see my post with the
superlong title keep-with-next causes last row of previous table to come
along.
regards
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 13, 2006 9:15 PM
I' recently back to working with FOP. I have a document that
consists of a number of tables with widely-varying numbers of
rows. Sometimes several tables will fit
Pascal Sancho [EMAIL PROTECTED]
wrote on 09/14/2006 07:47:09 AM:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 13, 2006 9:15 PM
I' recently back to working with FOP. I have a document that
consists of a number of tables
I know that if a table has 20 or more rows, it won't fit on a single page. I
deal with such large tables in my XSLT like this:
xsl:template match=table
xsl:variable name=page-break-flag
xsl:choose
xsl:when test=count(child::column) gt; 19page/xsl:when
THe
way I know to keep two differents elements (tables, images, etc...) is to put
them into a table and use the keep-with-next attribute on the "main" table
cells...
-
create a main table with 1 column and 2 rows
- put
your first table into the first cell of the main
table
- put
your