W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2006

Rookie question: full page table

From: Tomas Kolaci <kolaci@cncz.cz>
Date: Fri, 3 Feb 2006 12:02:38 +0100
To: <www-xsl-fo@w3.org>
Message-Id: <20060203110242.9411E681E4@czgw.cncz.cz>
 Hi!

 

 I'm creating "long" table going over more pages. I need to keep following
two rules:

 

1)      Rows of this table should not be page-broken (if they fit to one
page) and

2)      Last row on each page should be "extended" to reach bottom margin of
body region (so the whole body region is covered by the table, see "figures"
below).

 

 So far I was able to fulfill first rule by keep-together="always" attribute
(added to fo:table-row) but I don't know how to fulfill second one.

 I have tried to set height="100%" of fo:table but it does not work. Is
there any way, how to set-up table/table-rows to behave this way? So far I
was creating HTML only and I'm just starting with XSL-FO so I don't know
where to look for answers and even what I'm looking for exactly yet (too
many new parameters for each element :)).

 

 Thank you!

 

 Best regards, Tomas

 

 Figures (thin lines represents page margin, doubled lines represents row
border, x's represents row content):

 

 What I've got so far:

 

+---------------------------------+

|#===============================#|

|# xxxxx                         #|

|# xxxxxx xxx xx xxxxxx x xxxxxx #|

|# xx xxxxxx xx xx xxxxxxx x xxx #|

|# xxxxx xxx.                    #|

|#===============================#|

|# xxxxx                         #|

|# xxxxxx xxx xx xxxxxx x xxxxxx #|

|# xx xxxxxx xx xx xxxxxxx x xxx #|

|# xxxxx xxx.                    #|

|#===============================#|

|# xxxxx                         #|

|# xxxxxx xxx xx xxxxxx x xxxxxx #|

|# xx xxxxxx xx xx xxxxxxx x xxx #|

|# xxxxx xxx.                    #|

|#===============================#|

|                                 |

|                                 |

|                                 |

|                                 |

+---------------------------------+

 

What I need:

 

+---------------------------------+

|#===============================#|

|# xxxxx                         #|

|# xxxxxx xxx xx xxxxxx x xxxxxx #|

|# xx xxxxxx xx xx xxxxxxx x xxx #|

|# xxxxx xxx.                    #|

|#===============================#|

|# xxxxx                         #|

|# xxxxxx xxx xx xxxxxx x xxxxxx #|

|# xx xxxxxx xx xx xxxxxxx x xxx #|

|# xxxxx xxx.                    #|

|#===============================#|

|# xxxxx                         #|

|# xxxxxx xxx xx xxxxxx x xxxxxx #|

|# xx xxxxxx xx xx xxxxxxx x xxx #|

|# xxxxx xxx.                    #|

|#                               #|

|#                               #|

|#                               #|

|#                               #|

|#===============================#|

+---------------------------------+

 
Received on Friday, 3 February 2006 22:31:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT