You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Jordan Soet <jd...@interchange.ubc.ca> on 2006/05/08 04:56:36 UTC
Bug with tables and footers?
Hi, I think I found a little bug with when you have a table and a footer,
having the body content overlap the footer. However, I'm not sure if this
really counts as a bug, since I actually have the rowspan = 3 when there's
only one row in the table. Don't really need it fixed or anything, just
letting you know. Anyways, the code is below:
<?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 master-name="all"
page-height="29.7cm"
page-width="21cm"
margin-top="0.8in"
margin-bottom="0.2in"
margin-left="1.25in"
margin-right="1.25in">
<fo:region-body
margin-top="0.75in"
margin-bottom="1.0in"/>
<fo:region-before
extent="1in"/>
<fo:region-after
extent="0.6in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="all">
<fo:static-content
flow-name="xsl-region-after">
<fo:block>
This is the footer. This is the footer. This
is the footer. This is the footer.
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block>This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. This is the body text. This is
the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. This is the body text. This is
the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is
the body text. This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is
the body text. This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is
the body text. This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. This is the body text. This is
the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is
the body text. This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is
the body text. This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is
the body text. This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. </fo:block>
<fo:table><fo:table-column/><fo:table-body>
<fo:table-row>
<fo:table-cell
number-rows-spanned="3" padding="20px"><fo:block>How can we get the
knowledge to the right
place?</fo:block></fo:table-cell>
</fo:table-row>
</fo:table-body></fo:table>
<fo:block>This is the body text. This is the body text. This
is the body text. This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This
is the body text. This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is
the body text. This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. This is the body text. This is
the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is
the body text. This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is
the body text. This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. </fo:block>
<fo:block>This is the body text. This is the body text. This is
the body text. This is the body text. This is the body text. This is the
body text. This is the body text. This is the body text. This is the body
text. This is the body text. This is the body text. This is the body text.
This is the body text. This is the body text. </fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Bug with tables and footers?
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Right, the generated element list is wrong (the element for the
table-row shows 0pt height). But as you notice, this is rather exotic,
especially since the problem goes away if you remove the row span. I
don't feel like running after this bug right now.
Please always state the FOP version you're using. I had to look up your
last post to find out.
On 08.05.2006 04:56:36 Jordan Soet wrote:
> Hi, I think I found a little bug with when you have a table and a footer,
> having the body content overlap the footer. However, I'm not sure if this
> really counts as a bug, since I actually have the rowspan = 3 when there's
> only one row in the table. Don't really need it fixed or anything, just
> letting you know. Anyways, the code is below:
>
<snip/>
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org