(reportDefinition.getResourceBundleFactory(), reportDefinition.getReportEnvironment()));
}
dataFactory.open();
final TableModel tableModel = dataFactory.queryData
(queryName, new QueryDataRowWrapper(new ReportParameterValues(), 1, 0));
final int colCount = tableModel.getColumnCount();
final String[] cols = new String[colCount];
for (int i = 0; i < colCount; i++)
{