Exemplo n.º 1
0
 protected ITableContent createTableContent(IReportContent report, int colNumber, int rowCount) {
   ITableContent table = report.createTableContent();
   for (int i = 0; i < rowCount; i++) {
     ITableBandContent band = report.createTableBandContent();
     band.setBandType(ITableBandContent.BAND_DETAIL);
     IRowContent row = createRowContent(report, colNumber);
     band.getChildren().add(row);
     row.setParent(band);
     table.getChildren().add(band);
     band.setParent(table);
   }
   return table;
 }