@Override
protected Map getLocalModel() throws ReportException {
HashMap<CrossReportColumn, Object> model = new HashMap<CrossReportColumn, Object>();
CrossReport crossReport = range.getCrossReport();
for(int i=0; i<crossReport.getColumnCount(); i++) {
CrossReportColumn column = new CrossReportColumn(crossReport, i);
model.put(column, crossReport.getSubReport().getColValue(i, rowIndex));
}
return model;
}