Logger.getLogger(Cell.class.getName()).log(Level.WARNING,
"Parameter is invalid for datatype Color, default background color #FFFFFF will be set.");
cellBackgroundColor = DEFAULT_BACKGROUND_COLOR;
}
splitRepeatedCells();
OdfStyleBase styleElement = getStyleHandler().getStyleElementForWrite();
if (styleElement != null) {
OdfStyleProperty bkColorProperty = OdfStyleProperty.get(OdfStylePropertiesSet.TableCellProperties, OdfName
.newName(OdfDocumentNamespace.FO, "background-color"));
styleElement.setProperty(bkColorProperty, cellBackgroundColor);
}
}