report.getItemBand().addElement(createFieldItem("detail-field", 100, 20));
report.getItemBand().getParentSection().getStyle().setStyleProperty(ElementStyleKeys.AVOID_PAGEBREAK_INSIDE, Boolean.TRUE);
group0.getStyle().setStyleProperty(ElementStyleKeys.AVOID_PAGEBREAK_INSIDE, Boolean.TRUE);
final MasterReport master = new MasterReport();
master.setPageDefinition(new SimplePageDefinition(new PageSize(500, 100)));
master.getReportHeader().addElement(report);
// BundleWriter.writeReportToZipFile(master, "/tmp/Prd-2087-Keep-Together-2.prpt");
// PdfReportUtil.createPDF(master, "/tmp/KeepTogetherTest5.pdf");
// DebugReportRunner.createPDF(master);