OdfStyleProperty property = OdfStyleProperty.get(OdfStylePropertiesSet.TableCellProperties, OdfName.newName(
OdfDocumentNamespace.STYLE, "vertical-align"));
if (verticalAlignment != null) {
styleElement.setProperty(property, verticalAlignment);
} else {
styleElement.removeProperty(property);
}
}
}
/**