xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georg Datterl <georg.datt...@geneon.de>
Subject AW: Table with spanned-row-header in 2 columned region-body
Date Wed, 01 Sep 2010 14:00:21 GMT
Hi Adam,

I don't think that's possible, because logically your table has only one column and therefore
the TH1 could only span one column. But: What if you put the TH1 into the page header and
let it span there?

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de<http://www.geneon.de>

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de<http://www.irs-nbg.de>
Willmy PrintMedia GmbH:                            www.willmy.de<http://www.willmy.de>
Willmy Consult & Content GmbH:                 www.willmycc.de<http://www.willmycc.de>

Von: Adam Kovacs [mailto:a.kovacs@i-docs.com]
Gesendet: Mittwoch, 1. September 2010 15:57
An: fop-users@xmlgraphics.apache.org
Betreff: Table with spanned-row-header in 2 columned region-body

Hi There!

 Im trying to make a table with a spanned header in a 2 columned region-body.
(Examples attached....)
I would need something like a "span=all" into the table-header... like this:

            <fo:region-body region-name="PageBody" column-count="2"/>

        <fo:table>
                        <fo:table-column>
                        <fo:table-column>
                <fo:table-header >
                                   <fo:table-row span="all">
                               <fo:table-cell number-columns-spanned="2">
                                   <fo:block> T1H1</fo:block>
                               </fo:table-cell>
                                   </fo:table-row>
                                   <fo:table-row>
                               <fo:table-cell>
                                   <fo:block> T1H2C1</fo:block>
                               </fo:table-cell>
                               <fo:table-cell>
                                   <fo:block> T1H2C2</fo:block>
                               </fo:table-cell>
                           </fo:table-row>
                </fo:table-header>
                <fo:table-body >


It should look like this:

"_______Table Header 1______"
"TableHeader2"    "TableHeader2"
"ContentRow _"    "ContentRow _"
"ContentRow _"    "ContentRow _"
"ContentRow _"    "ContentRow _"
...

-Page Break-

"_______Table Header 1______"
"TableHeader2"    "TableHeader2"
"ContentRow _"    "ContentRow _"
"ContentRow _"    "ContentRow _"
"ContentRow _"    "ContentRow _"

Any idea how to do this is really appreciated!!!
Thanks!

Attached is an example XSL/FO and PDF what I would need... (the blue one is the desired one
just also over page breaks....)


Mime
View raw message