final PageFooter pageFooter = report.getPageFooter();
final ElementStyleSheet style = pageFooter.getStyle();
style.setStyleProperty(BandStyleKeys.DISPLAY_ON_FIRSTPAGE, Boolean.TRUE);
style.setStyleProperty(ElementStyleKeys.MIN_HEIGHT, new Float(24));
style.setStyleProperty(ElementStyleKeys.BACKGROUND_COLOR, new Color(0xAFAFAF));
pageFooter.addElement
(HorizontalLineElementFactory.createHorizontalLine
(0, null, new BasicStroke(1)));
final TextFieldElementFactory elementFactory = new TextFieldElementFactory();
elementFactory.setAbsolutePosition(new Point2D.Float(0, 4));