ClassicEngineBoot.getInstance().start();
}
private MasterReport getReport() throws Exception
{
final MasterReport report = new MasterReport();
report.getReportHeader().addElement(LabelElementFactory.createLabelElement
(null, new Rectangle2D.Float(0, 0, 150, 20), null,
ElementAlignment.LEFT, null, "Text"));
report.getReportFooter().addElement(LabelElementFactory.createLabelElement
(null, new Rectangle2D.Float(0, 0, 150, 20), null,
ElementAlignment.LEFT, null, "Text"));
report.getPageHeader().addElement(LabelElementFactory.createLabelElement
(null, new Rectangle2D.Float(0, 0, 150, 20), null,
ElementAlignment.LEFT, null, "Text"));
report.getPageFooter().addElement(LabelElementFactory.createLabelElement
(null, new Rectangle2D.Float(0, 0, 150, 20), null,
ElementAlignment.LEFT, null, "Text"));
report.getItemBand().addElement(LabelElementFactory.createLabelElement
(null, new Rectangle2D.Float(0, 0, 150, 20), null,
ElementAlignment.LEFT, null, "Text"));
report.getGroup(0).getHeader().addElement(LabelElementFactory.createLabelElement
(null, new Rectangle2D.Float(0, 0, 150, 20), null,
ElementAlignment.LEFT, null, "Text"));
report.getGroup(0).getFooter().addElement(LabelElementFactory.createLabelElement
(null, new Rectangle2D.Float(0, 0, 150, 20), null,
ElementAlignment.LEFT, null, "Text"));
report.addExpression(new EventOrderFunction("event-order"));
report.addExpression(new EventMonitorFunction("event-monitor"));
return report;
}