W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2005

region body separates from region after

From: Roger Parkinson <roger@senanque.co.nz>
Date: Thu, 3 Mar 2005 11:52:41 +1300
Message-ID: <01C51FE7.821F8F60.roger@senanque.co.nz>
To: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>

I have a page master that looks like this:

<fo:region-before region-name="heading" extent="9.2cm" overflow="hidden"/>
<fo:region-body region-name="body" margin-top="8.85cm" 
margin-bottom="7.8cm" overflow="hidden"/>
<fo:region-after region-name="footer" extent="7.7cm" overflow="hidden"/>

Inside the region body is a table with a height attribute: eg

<fo:table table-layout="fixed" height="11.4cm">

This allows the table to expand the whole height of the body. Well almost.
It actually leaves a gap between the bottom of the table and the top of the 
footer. Any attempts to close the gap by fiddling with the margins, extents 
and heights cause an overflow (ie gaps on the next page where the table or 
footer is missing, depending on the change) or a overlap between the bottom 
of the table and the top of the header.

The table information spans several pages and (other than the above 
problem) that works fine as well. On the last page however, when the table 
is not filled, I can get the gap to go away by changing the margin-bottom 
on the region body. This means the last page looks different from the 
others which, obviously, isn't good.

I'm using ApacheFOP 0.20.5. I tried the same file with Antenna (demo 
version downloaded for this purpose) and it gave me only one page. It 
looked as if the table overflow had not happened at all and the rest of the 
lines vanished behind the footer.

Anyone know what I should try?
Received on Thursday, 3 March 2005 05:10:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:29 UTC