public static void main(String[] args) throws ReportDefinitionException, ReportProcessingException, IOException
{
ClassicEngineBoot.getInstance().start();
final Pre200Test test = new Pre200Test();
final MasterReport report = test.parseReport(test.getReportDefinitionSource());
final InputStream stream = ObjectUtilities.getResourceRelativeAsStream("pre200a.csv", Pre200Test.class);
CSVTableModelProducer csvTableModelProducer = new CSVTableModelProducer(stream);
csvTableModelProducer.setColumnNameFirstLine(true);
final TableModel tableModel = csvTableModelProducer.parse();
csvTableModelProducer.close();
final DefaultTableModel model = copyInto(tableModel);
model.setValueAt(largeText, 3,2);
report.setDataFactory(new TableDataFactory(report.getQuery(), model));
TestSystem.showPreview(report);
}