As we saw in Chapter 3, a report can contain 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 sub-element. The<band>
element can contain zero or more<line>, <rectangle>, <ellipse>, <image>, <staticText>, <textField>, <subReport>
, or<elementGroup>
sub-elements. Except for<elementGroup>
, each of these elements must contain a single<reportElement>
as its first element.<reportElement>
determines how data is laid out for that particular element. In this section, we will see how the different attributes of<reportElement...