/**
*
*/
public static HorizontalAlignEnum getHorizontalAlignmentValue(JRAlignment alignment)
{
HorizontalAlignEnum ownHorizontalAlignment = alignment.getOwnHorizontalAlignmentValue();
if (ownHorizontalAlignment != null)
{
return ownHorizontalAlignment;
}
JRStyle baseStyle = getBaseStyle(alignment);
if (baseStyle != null)
{
HorizontalAlignEnum horizontalAlignment = baseStyle.getHorizontalAlignmentValue();
if (horizontalAlignment != null)
{
return horizontalAlignment;
}
}