{
groupStack.push(new IgnoredContentIndicator());
return;
}
final SimpleStyleSheet reportStyle = sectionStyleCache.getStyleSheet(groupBody.getStyle());
final BoxDefinition boxDefinition = boxDefinitionFactory.getBoxDefinition(reportStyle);
final BlockRenderBox groupBox = new BlockRenderBox(reportStyle, groupBody.getObjectID(),
boxDefinition, groupBody.getElementType(), groupBody.getAttributes(), null);
// todo: PRD-3154: This is black magic, placeholder box true is evil.
// Need to evaluate side-effects of this beast. Is it safe for keep-together boxes?
groupBox.getStaticBoxLayoutProperties().setPlaceholderBox(true);
groupBox.setName("Group-body-" + groupStack.size());
addBox(groupBox);
if (reportStyle.getBooleanStyleProperty(ElementStyleKeys.AVOID_PAGEBREAK_INSIDE))
{
this.groupStack.push(new GroupSection(groupBox, bandWithKeepTogetherStyle));
}
else
{