コード例 #1
0
 private void buildFooter() {
   if (bean.getReportLayout().getPageFooterBand().getColumnCount() == 0) {
     return;
   }
   try {
     printPageFooterBand();
     Footer footer = xlsSheet.getFooter();
     footer.setCenter(footerS.toString());
   } catch (QueryException ex) {
     ex.printStackTrace();
   } finally {
     footerS = new StringBuilder();
   }
 }
コード例 #2
0
ファイル: SXSSFSheet.java プロジェクト: peke2/test_scala
 /**
  * Gets the user model for the default document footer.
  *
  * <p>Note that XSSF offers more kinds of document footers than HSSF does.
  *
  * @return the document footer. Never <code>null</code>
  */
 public Footer getFooter() {
   return _sh.getFooter();
 }