report.getReportHeader().addElement(elementX);
// setup a dummy environment that simulates the setup of a full prd
final ReportDesignerContext rdc = new TestReportDesignerContext();
rdc.addMasterReport(report);
final ReportRenderContext activeContext = rdc.getReportRenderContext(0);
rdc.setActiveDocument(activeContext);
assertNotNull(activeContext);
// use the style editor panel in isolation to make the whole process debuggable ..