final ReportStateKey stateKey)
{
final ElementStyleSheet elementStyleSheet = report.getStyle();
final SimpleStyleSheet styleSheet = bandCache.getStyleSheet(elementStyleSheet);
final BoxDefinition boxDefinition = boxDefinitionFactory.getBoxDefinition(styleSheet);
final RenderBox box = new ContentPlaceholderRenderBox(styleSheet, report.getObjectID(), boxDefinition,
report.getElementType(), report.getAttributes(), stateKey, report.getObjectID());
box.getStaticBoxLayoutProperties().setPlaceholderBox(true);
// for the sake of debugging ..
final String name = report.getName();
if (name != null && name.startsWith(Band.ANONYMOUS_BAND_PREFIX) == false)
{
box.setName(name);
}
return box;
}