ClassicEngineBoot.getInstance().start();
MasterReport report = new MasterReport();
report.setName("ReportTextLayout001");
final RectangleElementFactory rectangleElementFactory = new RectangleElementFactory();
rectangleElementFactory.setColor(Color.GREEN);
rectangleElementFactory.setStroke(new BasicStroke(1));
rectangleElementFactory.setX(new Float (0));
rectangleElementFactory.setY(new Float (10));
rectangleElementFactory.setMinimumWidth(new Float (-100));
rectangleElementFactory.setMinimumHeight(new Float (104));
rectangleElementFactory.setShouldFill(Boolean.TRUE);
rectangleElementFactory.setShouldDraw(Boolean.TRUE);
Element labelElement = LabelElementFactory.createLabelElement("Label1",
new Rectangle2D.Double(0, 10, -100, 104),
Color.BLACK,
ElementAlignment.LEFT,
new FontDefinition("Arial", 40),
"ppp Title ");
labelElement.getStyle().setStyleProperty(TextStyleKeys.UNDERLINED, Boolean.TRUE);
labelElement.getStyle().setStyleProperty(TextStyleKeys.STRIKETHROUGH, Boolean.TRUE);
report.getReportHeader().addElement(rectangleElementFactory.createElement());
report.getReportHeader().addElement(labelElement);
report.setDataFactory(new TableDataFactory
("default", new DefaultTableModel()));