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 Andreas Kroop <kr...@transit-online.de> on 2000/11/10 15:00:09 UTC
Table BUG ?
If you have a table which is longer than one page , FOP spews an
infinite number of pages.
(fop-0_14_1)
my xsl file:
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match ="/">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-master-name="one"
page-height="21.cm"
page-width="14.8cm"
margin-bottom="0.5cm"
margin-left="1.0cm"
margin-right="1.5cm">
<fo:region-before extent="3cm"/>
<fo:region-body margin-top="1cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence>
<fo:sequence-specification>
<fo:sequence-specifier-repeating page-master-first="one"
page-master-repeating="one"/>
</fo:sequence-specification>
<fo:flow flow-name="xsl-body">
<fo:block font-weight="bold" line-height="14pt">
<fo:table width="18cm">
<fo:table-column column-number="1" column-width="120pt">
</fo:table-column>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block font-weight="bold" line-height="14pt"
text-align="center">
<xsl:value-of select="table/line1"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
</xsl:stylesheet>
xml file:
<table>
<line1>
test test test test test test test test test test test test test test
test test test test test test
test test test test test test test test test test test test test
test test test test test test test
test test test test test test test test test test test test test test
test test test test test test
test test test test test test test test test test test test test
test test test test test test test
.......
</line1>
</table>
mfg
Andreas