final MasterReport reportDefinition = activeContext.getContextRoot();
dataFactory.initialize(new DesignTimeDataFactoryContext(reportDefinition));
}
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++)
{