else // add the replaced content into a ordinary block box. There's no need to create a full paragraph for it
{
final SimpleStyleSheet styleSheet = bandCache.getStyleSheet
(new NonDynamicHeightWrapperStyleSheet(new AnchorStyleSheet(anchorName, element.getStyle())));
final BoxDefinition boxDefinition = boxDefinitionFactory.getBoxDefinition(styleSheet);
final RenderBox autoParagraphBox = new CanvasRenderBox(styleSheet, element.getObjectID(), boxDefinition,
element.getElementType(), element.getAttributes(), stateKey);
autoParagraphBox.setName(element.getName());
autoParagraphBox.getBoxDefinition().setPreferredWidth(RenderLength.AUTO);
autoParagraphBox.close();
box.addChild(autoParagraphBox);
}
}