As
we saw in Chapter 3, Creating your First Report, a report can contain the following sections: a report title, a page header, a page footer, a column header, a column footer, a detail section, a report summary, and a last page footer. These sections are defined by the <title>
, <pageHeader>
, <pageFooter>
, <columnHeader>
, <columnFooter>
, <detail>
, <summary>
, and <lastPageFooter>
JRXML elements, respectively.
Each of these elements contains a single <band>
element as its only subelement. The <band>
element can contain zero or more <line>
, <rectangle>
, <ellipse>
, <image>
, <staticText>
, <textField>
, <subReport>
, or <elementGroup>
subelements. Except for <elementGroup>
, each of these elements must contain a single <reportElement>
as its first element. The <reportElement>
subelement determines how data is laid out for that particular element...