Problem with table in <xsl-region-after>
"Todeush, Serhiy" <[email protected]> Tue, 17 Sep 2002 19:18:09 +0100
| Newsgroups | gmane.text.xml.jfor.general |
|---|---|
| Message-ID | <DD96E17B2F7BD3119213009027944BE00188A43E@DUBSEXC1> |
Hello!
I have a problem with the table in the footer.
When I try to use table in <xsl-region-after> the table will appear at the
beginning of a body of the document (instead of footer)
and it will be shown on the first page only.
Please see my sample FO file below.
I wonder if this is the bug in jfor, because the same FO file works
correctly with FOP.
Or maybe I have to use a bit different syntax for the footers with jfor?
Thank you for any comments and suggestions,
Serhiy
======== sample FO ===========
<?xml version="1.0" encoding="iso-8859-1" ?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set >
<fo:simple-page-master
margin-right="30mm"
margin-left="30mm"
margin-bottom="50mm"
margin-top="100mm"
page-width="210mm"
page-height="297mm"
master-name="wordingA4">
<fo:region-body margin-bottom="50mm" margin-top="50mm" />
<fo:region-before extent="50mm" />
<fo:region-after extent="50mm" />
</fo:simple-page-master>
<fo:page-sequence-master master-name="wordingA4first">
<fo:repeatable-page-master-reference
master-reference="wordingA4" />
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="wordingA4first">
<fo:static-content flow-name="xsl-region-after">
<fo:block>
This is the first line of the footer. The next has to be Table.
</fo:block>
<fo:table table-layout="fixed">
<fo:table-column column-width="6cm"/>
<fo:table-column column-width="6cm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell border-style="double" align="right">
<fo:block align="right">
This Table must appear in the Footer</fo:block>
</fo:table-cell>
<fo:table-cell border-style="double">
<fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell border-style="double">
<fo:block>
First Column </fo:block>
</fo:table-cell>
<fo:table-cell border-style="double">
<fo:block>
Second Column </fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block>
This is the last line of the footer. This has to be after the Table.
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block font-size="20pt" >
This is Page With Footer
</fo:block>
<fo:block break-before="page" />
<fo:block font-size="20pt" >
This is Another Page With Footer
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
======== END sample FO ===========
-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab