*
* @return the report footer.
*/
private ReportFooter createReportFooter()
{
final ReportFooter footer = new ReportFooter();
footer.setName("Report-Footer");
footer.getStyle().setStyleProperty(ElementStyleKeys.MIN_HEIGHT, new Float(48));
footer.getStyle().setStyleProperty(TextStyleKeys.FONT, "Serif");
footer.getStyle().setStyleProperty(TextStyleKeys.FONTSIZE, new Integer(16));
footer.getStyle().setStyleProperty(TextStyleKeys.BOLD, Boolean.TRUE);
final LabelElementFactory factory = new LabelElementFactory();
factory.setName("Report-Footer-Label");
factory.setAbsolutePosition(new Point2D.Float(0, 0));
factory.setMinimumSize(new FloatDimension(-100, 24));
factory.setHorizontalAlignment(ElementAlignment.CENTER);
factory.setVerticalAlignment(ElementAlignment.MIDDLE);
factory.setText("*** END OF REPORT ***");
footer.addElement(factory.createElement());
return footer;
}