// Background Color
StyleValue backgroundValue = propertyValues.getComputedValue(
StylePropertyDetails.BACKGROUND_COLOR);
if (backgroundValue instanceof StyleColor) {
VDXMLColorValue backgroundColor = getColor(
(StyleColor)backgroundValue);
if (backgroundColor != null) {
result = allocate(result);
result.setBackgroundColor(
new VDXMLBackgroundColorProperty(backgroundColor));
}
}
// Underline
if (underline != null) {
result = allocate(result);
result.setUnderline(
new VDXMLUnderlineStyleProperty(underline));
}
//
// Character Display
//
// Font Size
VDXMLFontSizeValue fontSize = getCharacterSize(propertyValues);
if (fontSize != null) {
result = allocate(result);
result.setFontSize(
new VDXMLFontSizeProperty(fontSize));
}
// Background Color
VDXMLColorValue fontColor = getColor(
(StyleColor)propertyValues.getComputedValue(
StylePropertyDetails.COLOR));
if (fontColor != null) {
result = allocate(result);
result.setFontColor(