/** * Adds the header to the top of the </CODE>Document</CODE> */ protected void initFooter() { if (footer != null) { try { // Set the page number. HTML has no notion of a page, so it should always // add up to 1 footer.setPageNumber(HtmlWriter.pageN + 1); add(footer.paragraph()); } catch (Exception e) { throw new ExceptionConverter(e); } } }