* issues.
* @return The background-color property.
*/
public java.awt.Color getBackgroundColor(final FObj fobj,
final FoContext context) {
PdBackgroundColor property = (PdBackgroundColor)
getProperty(FoProperty.BACKGROUND_COLOR);
if (property != null) {
return property.getValue(context, fobj);
}
// Try the shorthand
final PdBackground background = (PdBackground) getProperty(
FoProperty.BACKGROUND);
if (background != null) {
property = background.getColor();
if (property != null) {
return property.getValue(context, fobj);
}
}
return PdBackgroundColor.getValueNoInstance();
}