*
* @return the created report.
*/
public MasterReport createReport()
{
final Band levelA1 = createBand("A1", Color.magenta, 0, 0, 100, 100);
levelA1.addElement(createBand("A1-B1", Color.blue, 0, 50, 50, 50));
levelA1.addElement(createBand("A1-B2", Color.yellow, 50, 0, 150, 50));
// x=55%, y=5%, width=40%, height=100%
final Band levelA2 = createBand("A2", Color.green, -50, 0, -50, -100);
// x=5%, y=55%, width=40%, height=40%
levelA2.addElement(createBand("A2-B1", Color.red, 0, -50, -50, -50));
// x=55%, y=5%, width=40%, height=40%
levelA2.addElement(createBand("A2-B2", Color.darkGray, -55, -5, -40, -40));
final ReportHeader header = new ReportHeader();
header.setName("Report-Header");
header.getStyle().setStyleProperty(ElementStyleKeys.MIN_WIDTH, new Float(-100));
header.getStyle().setStyleProperty(ElementStyleKeys.MIN_HEIGHT, new Float(100));