You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Seisdedos Juan, Francisco Javier" <fj...@atlante.com> on 2002/04/04 10:22:25 UTC

Problems using table-header with FOP 0.19

I have written this code:

<?xml version="1.0" encoding="UTF-8" ?> 
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="simplePM" page-height="25cm" page-width="20cm" margin-top="1cm" margin-bottom="1cm" margin-left="1.5cm" margin-right="1.5cm">
<fo:region-before extent="2.5cm" /> 
<fo:region-body margin-top="3cm" margin-bottom="3cm" /> 
<fo:region-after extent="2.5cm" /> 
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name="simplePM">
<fo:flow flow-name="xsl-region-body">

<fo:table>
<fo:table-column column-width="70mm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell><fo:block space-before="450pt"></fo:block></fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>

<fo:table>
<fo:table-column column-width="200mm"/>
<fo:table-header>
<fo:table-row><fo:table-cell><fo:block font-size="14pt">Test Table Header 1</fo:block></fo:table-cell></fo:table-row>
<fo:table-row><fo:table-cell><fo:block font-size="14pt">Test Table Header 2</fo:block></fo:table-cell></fo:table-row>
<fo:table-row><fo:table-cell><fo:block font-size="14pt">Test Table Header 3</fo:block></fo:table-cell></fo:table-row>
</fo:table-header>
<fo:table-body> 
<fo:table-row><fo:table-cell><fo:block font-size="14pt">Test Table Body 1</fo:block></fo:table-cell></fo:table-row>
<fo:table-row><fo:table-cell><fo:block font-size="14pt">Test Table Body 2</fo:block></fo:table-cell></fo:table-row>
<fo:table-row><fo:table-cell><fo:block font-size="14pt">Test Table Body 3</fo:block></fo:table-cell></fo:table-row>
</fo:table-body>	       
</fo:table>
</fo:flow>
</fo:page-sequence>
</fo:root>

I wrote two tables: one for blank space and the other one to write data. If the property space-before of the first table has a value of  500pt, it is shown right but if the value is 450pt (like now), the table header is getting lost. 

Could anybody help me?

Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Problems using table-header with FOP 0.19

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Seisdedos Juan, Francisco Javier wrote:
...
> I wrote two tables: one for blank space and the other one to
 > write data. If the property space-before of the first table
 > has a value of  500pt, it is shown right but if the value is
 > 450pt (like now), the table header is getting lost.

It works in 0.20.3, at least there are no headers missing.
Perhaps it's time to upgrade?

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org