Thanks for the help. It did lead me to the solution, although it turned out the answer was really that I had to set the row height on the table. I think there is no margin-top on region-after (couldn't see it in the spec and didn't seem to make a difference). Anyway I made the region-body margin-bottom the same as the region-after extent and changed the overflow as you suggested. The problem remained and I looked again at the table itself.
If I adjusted the length of the table I could get the bottom of it to meet the top of the region-after, which suggested that the regions are just fine. The problem was that this only happened on the final page. On the earlier pages there was a gap. So the penny dropped at last for me, it was really only happening when the table was sizing itself around the number of rows it was rendering. This meant the real solution was to set the table-row height attribute to some value that gave a whole number of rows in the table height. Sure enough that worked fine. Thanks for the help. Roger -----Original Message----- From: Roland Neilands [SMTP:[EMAIL PROTECTED] Sent: Thursday, 3 March 2005 6:57 p.m. To: Fop-User List Subject: RE: region body separates from region after Roger, I remember having similar issues. I ended up using a margin-top (eg ="18.05cm") on the region-after as well as an extent, and removing the table height completely which gives a table which expands to fit the actual size on each page. Also you are specifying overflow="hidden" on all regions, which doesn't sound like what you are after for the region-body at least. Cheers, Roland > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Roger Parkinson > Sent: Thursday, 3 March 2005 9:53 AM > To: '[EMAIL PROTECTED]' > Subject: region body separates from region after > > > > 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? > Thanks > Roger > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]