Of course the header should be dynamic like anything else, unless you use static content, though I haven't actually done anything with a header or footer region on mine. I separate regions in the program which generates the content and put everything in the body. Of course if you put the table in a header region this assumes you're starting a new page if you print a different table in the same document. I'm not sure how to translate your fo:table to figure out exactly what the problem is, since I have yet to use that tag, though I have written tables in html code and I know headers spanning columns is a simple task there.
________________________________ From: Adam Kovacs [mailto:a.kov...@i-docs.com] Sent: Wednesday, September 01, 2010 10:23 AM To: fop-users@xmlgraphics.apache.org Subject: Re: AW: Table with spanned-row-header in 2 columned region-body Hi Georg! Thanks for your answer... Im exactly looking after workaround-ideas like this! The problem is that I have lets say 3 Tables with the same content type but exactly this "spanned" header different.. I dont know how long these tables are. It can happen that the 1. table is 3 pages the 2. is 2 pages and the 3. is 20 pages... (Imagine it like Tables: "Videos" "Photos" "Music" and content like "title" "author" "date") So I think the page-header is no option. Or is there a way to set it dynamically? Thanks!! Adam On 01.09.2010, at 16:00, Georg Datterl wrote: 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 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.kov...@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....)