JRComponentElement componentElement = (JRComponentElement) element;
JRPrintElement converted = null;
ComponentKey componentKey = componentElement.getComponentKey();
if (componentKey != null)
{
ComponentManager manager = ComponentsEnvironment.getComponentManager(
componentKey);
if (manager != null && manager.getDesignConverter() != null)
{
// convert using the component converter
converted = manager.getDesignConverter().convert(reportConverter,
componentElement);
}
}
if (converted == null)