W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2002

fo:table, fo:table-row, Proposal for support of "big tables"

From: Heinz Grimm <grimm.heinz@rcc.ch>
Date: Mon, 04 Nov 2002 13:54:17 +0100
Message-ID: <3DC66DF9.38D699E1@rcc.ch>
To: xsl-editors@w3.org
Hi,
We tried to use XSL-FO to create database reports. The biggest
problem was, that big tables are not supported by XSL-FO. Big
table means a table that has more rows and columns as can be
rendered on a single page. Appended is a proposal to extend the specs
of fo:table and fo:table-row to support big tables.

I am new to this list. As I understand this list intended to
submit proposals for XSL-FO 2.0 specs. Is there a web site,
where I can look what changes to XSL-FO 1.0 are already planned
or accepted?

Thank you,
Heinz Grimm


Proposal for support of "big tables"

fo:table
New values for property overflow:

next_row    start on next page with table-header and continue
            table with next row. Start eachn row with a row
            header(see sample (b))
next_column start on next page with table_header and continue
            table with next column. Start each row with a row
            header (see sample (a))

fo:table-row (fo:table-row-header?,fo:table-cell+)
New formating object fo:table-row-header
Similar to fo:table-header, preceeds each row of a table,
is repeated if a table is wider than one page (see on-overflow)


Sample output (a):

<fo:table overflow="next_column">
.
.
.
<fo:table-row>
   <fo:table-row-header>
     <fo:block>R1</fo:block>
   </fo:table-row-header>
   <fo:table-cell>
     <fo:block>1</fo:block>
   </fo:table-cell>
   <fo:table-cell>
     <fo:block>2</fo:block>
   </fo:table-cell>
.
.
.
</fo_table-row>
</fo:table>

page 1

   | C1 | C2 | C3 |
-------------------
R1 | 1  | 2  |  3 |
-------------------
R2 | 11 | 12 |  13|
-------------------
R3 | 21 | 22 |  23|


page 2

   | C4 | C5 | C6 |
-------------------
R1 | 4  | 5  |  6 |
-------------------
R2 | 14 | 15 |  16|
-------------------
R3 | 24 | 25 |  26|


page 3

   | C1 | C2 | C3 |
-------------------
R4 | 31 | 32 |  33|
-------------------
R5 | 41 | 42 |  43|
-------------------
R6 | 51 | 52 |  53|


page 4

   | C4 | C5 | C6 |
-------------------
R4 | 34 | 35 | 36 |
-------------------
R5 | 44 | 45 | 46 |
-------------------
R6 | 54 | 55 | 56 |


Sample output (b):

<fo:table overflow="next_row">
.
.
.
<fo:table-row>
   <fo:table-row-header>
     <fo:block>R1</fo:block>
   </fo:table-row-header>
   <fo:table-cell>
     <fo:block>1</fo:block>
   </fo:table-cell>
   <fo:table-cell>
     <fo:block>2</fo:block>
   </fo:table-cell>
.
.
.
</fo_table-row>
</fo:table>

page 1

   | C1 | C2 | C3 |
-------------------
R1 | 1  | 2  |  3 |
-------------------
R2 | 11 | 12 |  13|
-------------------
R3 | 21 | 22 |  23|


page 2

   | C1 | C2 | C3 |
-------------------
R4 | 31 | 32 |  33|
-------------------
R5 | 41 | 42 |  43|
-------------------
R6 | 51 | 52 |  53|


page 3

   | C4 | C5 | C6 |
-------------------
R1 | 4  | 5  |  6 |
-------------------
R2 | 14 | 15 |  16|
-------------------
R3 | 24 | 25 |  26|



page 4

   | C4 | C5 | C6 |
-------------------
R4 | 34 | 35 | 36 |
-------------------
R5 | 44 | 45 | 46 |
-------------------
R6 | 54 | 55 | 56 |

Received on Monday, 4 November 2002 07:55:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:53 GMT