xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keiron Liddle <kei...@aftexsw.com>
Subject Re: BUG : <fo:block> & area calculations as a guess ...
Date Tue, 12 Dec 2000 03:45:08 GMT

While I was doing some table code I noticed that the Block code was 
exiting after an AREA_FULL_SOME without adding the partially laid out area.
I have added the code, and commited, that adds the area if the block is 
partially laid out and gets the some-full.

It works ok with your example.

Kelly Campbell wrote:

> I found the problem. It is caused by the changes in fo.flow.Block.layout()
> added to fix infinite loops on tables. Here is a file that shows the
> problem. At the end of page 3, there's a block of text that should start
> with "4." and another block that starts on the next page. (Look for blocks
> with id="block*" in this fo file). With the current cvs version of FOP,
> block2.1 is not rendered on page 3, and block2.2 is rendered on page 4.
> Reverting the code in that method of Block.java fixes the problem for this
> case. I don't think it has anything to do with space-before properties, just
> with the fact that if a block was partially laid out, the area isn't added
> to the tree due to Hani Elabed's changes.
> -Kelly

View raw message