/**
*
*/
public static LineStyleEnum getLineStyleValue(JRBoxPen boxPen)
{
LineStyleEnum ownLineStyle = boxPen.getOwnLineStyleValue();
if (ownLineStyle != null)
{
return ownLineStyle;
}
LineStyleEnum penLineStyle = boxPen.getBox().getPen().getOwnLineStyleValue();
if (penLineStyle != null)
{
return penLineStyle;
}
JRStyle baseStyle = getBaseStyle(boxPen.getStyleContainer());
if (baseStyle != null)
{
LineStyleEnum lineStyle = boxPen.getPen(baseStyle.getLineBox()).getLineStyleValue();
if (lineStyle != null)
{
return lineStyle;
}
}