Java Reference
In-Depth Information
A JRXML template can contain zero or more
<columnFooter>
elements. If present,
the number of
<columnFooter>
elements in the template must match the number
of columns.
<pageFooter>
This element defines a page footer that is printed at the bottom of every page in
the report.
<pageFooter>
<band height="20">
<staticText>
<reportElement x="0" y="5" width="200" height="20"/>
<text>
<![CDATA[Page Footer]]>
</text>
</staticText>
</band>
</pageFooter>
A JRXML template can contain zero or one
<pageFooter>
element.
<lastPageFooter>
Data defined in this element is displayed as the page footer of the last page, instead
of the footer defined in the
<pageFooter>
element.
<lastPageFooter>
<band height="20">
<staticText>
<reportElement x="0" y="5"
width="200" height="20"/>
<text>
<![CDATA[Last Page Footer]]>
</text>
</staticText>
</band>
</lastPageFooter>
A JRXML template can contain zero or one
<lastPageFooter>
element.