In this chapter, we discussed several of JasperReports features that allow us to control the layout of a report.
By setting the appropriate attributes of the<jasperReport>
JRXML element, we can control report-wide layout properties like margins, page width, page orientation, and others. Text properties like size and font can be set by using report styles or by setting the appropriate attributes of the<text>
JRXML element. We can use styled text to modify the style of individual words, phrases, or sentences by setting the isStyledText
attribute of the<textElement>
JRXML element.
We learned to add multiple columns to a report by setting the columnCount
attribute of the<jasperReport>
JRXML element as well as to divide report data into logical groups by using the<group>
JRXML element. The chapter also dealt with displaying dynamic data in a report by using report expressions, using report variables to encapsulate report expressions, and performing automated...