{
// The non-inheritable styles will be applied to the auto-generated paragraph box. The inlinebox itself
// only receives the inheritable styles so that it can inherit it to its next child ..
final SimpleStyleSheet styleSheet = bandCache.getStyleSheet(new ParagraphPoolboxStyleSheet(elementStyleSheet));
final BoxDefinition boxDefinition = boxDefinitionFactory.getBoxDefinition(styleSheet);
return new InlineRenderBox(styleSheet, objectID, boxDefinition, elementType, attributes, stateKey);
}
else if (BandStyleKeys.LAYOUT_INLINE.equals(layoutType))
{
final SimpleStyleSheet styleSheet = bandCache.getStyleSheet(elementStyleSheet);
final BoxDefinition boxDefinition = boxDefinitionFactory.getBoxDefinition(styleSheet);
return new InlineRenderBox(styleSheet, objectID, boxDefinition, elementType, attributes, stateKey);
}
if (BandStyleKeys.LAYOUT_ROW.equals(layoutType))
{
final SimpleStyleSheet styleSheet = bandCache.getStyleSheet(elementStyleSheet);
final BoxDefinition boxDefinition = boxDefinitionFactory.getBoxDefinition(styleSheet);