/** Escribir el píe del informe. */ protected void writeFooter() { HSSFSheet sheet = getExcel().getActiveSheet(); HSSFFooter footer = sheet.getFooter(); if (showDate) footer.setLeft("Date " + HSSFFooter.date()); if (!StringUtils.isEmpty(textFooter)) footer.setCenter(textFooter); }
/** Escribir el píe del informe. */ protected void writeFooter() { HSSFSheet sheet = getExcel().getActiveSheet(); HSSFFooter footer = sheet.getFooter(); if (showDate) footer.setLeft("Date " + HSSFFooter.date()); if (!StringUtils.isEmpty(textFooter)) footer.setCenter(textFooter); if (showNumberPages) footer.setRight("Pages: " + HSSFFooter.page() + " - " + HSSFFooter.numPages()); // .,.r }