On 11 Mar 2009, at 13:35, Georg Datterl wrote:

Hi Georg

Instead of

XXX AAA
XXX
-------
XXX BBB
XXX
-------
   CCC

-------

I get

XXX AAA
-------
XXX BBB
-------
XXX CCC
XXX
-------

I'm not certain, but I have a feeling this follows from the way the Knuth algorithm implementation for tables works. The result you get has better overall demerits because it looks nicer. That is: the content is more evenly distributed over the pages than in the first case. IIC, FOP will always do its best to avoid layouts like the first, where you have one page where only one table-part contributes something. Such a layout will only be chosen if there really is no other way...

I already tried three rows and a number-rows-spanned for the first column, but that didn't change anything.

For the same reason, I think: better distribution of content over the available space.

Table markers are not yet implemented and I'm fresh out of ideas at the moment. Does anybody know of a way to get the layout I need?



It seems like three rows with a forced rowspan of two set in the first column, is what is needed to trigger the desired result here.

Strange thing I'll have to investigate on my end is that, if I render your sample through FOP Trunk (that is, my sandbox), there is no content on the third page at all. The block is just gone. I get a blank third page as a result... :-/



Regards

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to