fo:table, fo:table-row, Proposal for support of "big tables"
Heinz Grimm <[email protected]>
| Newsgroups | gmane.org.w3c.xsl-editors |
|---|---|
| Organization | RCC Ltd. |
| Message-ID | <[email protected]> |
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 |
grimm.heinz.vcf
(text/x-vcard, 291 B)
begin:vcard n:Grimm;Heinz tel;fax:+41 61 9715 072 tel;work:+41 61 9751 109 x-mozilla-html:FALSE url:www.rcc.ch org:RCC Ltd.;IT version:2.1 email;internet:[email protected] title:Dipl.Ing.(FH) adr;quoted-printable:;;Zelgliweg 1=0D=0A;Itingen;BL;CH-4452;Switzerland fn:Heinz Grimm end:vcard