// if (bg.getVerticalAlignment() != null)
// {
// attList.setAttribute(null, "vertical-alignment", String.valueOf(bg.getVerticalAlignment()));
// }
//
final BorderEdge top = bg.getTop();
if (top != null && BorderEdge.EMPTY.equals(top) == false)
{
attList.setAttribute(null, "border-top-color",
ColorValueConverter.colorToString(top.getColor()));
attList.setAttribute(null, "border-top-width",
String.valueOf(StrictGeomUtility.toExternalValue(top.getWidth())));
attList.setAttribute(null, "border-top-style",
String.valueOf(top.getBorderStyle()));
}
final BorderEdge left = bg.getLeft();
if (left != null && BorderEdge.EMPTY.equals(left) == false)
{
attList.setAttribute(null, "border-left-color",
ColorValueConverter.colorToString(left.getColor()));
attList.setAttribute(null, "border-left-width",
String.valueOf(StrictGeomUtility.toExternalValue(left.getWidth())));
attList.setAttribute(null, "border-left-style",
String.valueOf(left.getBorderStyle()));
}
final BorderEdge bottom = bg.getBottom();
if (bottom != null && BorderEdge.EMPTY.equals(bottom) == false)
{
attList.setAttribute(null, "border-bottom-color",
ColorValueConverter.colorToString(bottom.getColor()));
attList.setAttribute(null, "border-bottom-width",
String.valueOf(StrictGeomUtility.toExternalValue(bottom.getWidth())));
attList.setAttribute(null, "border-bottom-style",
String.valueOf(bottom.getBorderStyle()));
}
final BorderEdge right = bg.getRight();
if (right != null && BorderEdge.EMPTY.equals(right) == false)
{
attList.setAttribute(null, "border-right-color",
ColorValueConverter.colorToString(right.getColor()));
attList.setAttribute(null, "border-right-width",
String.valueOf(StrictGeomUtility.toExternalValue(right.getWidth())));
attList.setAttribute(null, "border-right-style",
String.valueOf(right.getBorderStyle()));
}
final BorderCorner topLeft = bg.getTopLeft();
if (topLeft != null && BorderCorner.EMPTY.equals(topLeft) == false)
{