Šoltís Ján wrote:
Could anybody help me with this task:
How to avoid FOP to place table header at the end of the page following with no more rows on that page? Setting keep-with-next on the last row of table's table-head doesn't work. Table header is still at the bottom of the page.
As you are probably aware keep-* properties are only implemented on table-row in FOP. This implementation is more of a hack than a thoroughly tested implementation. Most likely the contents of table-header are not considered in this hack.
<snip/>
----------------1st page ---------
... some content ...
table header ---------------- 2nd page --------- table header table body . .
You could try keep-with-previous="always" on the first table row. I'm not sure if it will work, give it a try. Failing that your only options are to put break-before="page" on the entire table or break-after="page" on the last block before the table.
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]