if (autoDataStyle != null)
{
final DataStyle derivedStyle = (DataStyle) autoDataStyle.clone();
Node[] nodes = autoDataStyle.getNodeArray();
for (int i = 0; i < nodes.length; i++) {
Node node = nodes[i];
if (node instanceof DataStyle) {
DataStyle element = (DataStyle) node;
final Object apply = element.getAttribute(OfficeNamespaces.STYLE_NS, "apply-style-name");
if (apply != null) {
final String applyStyleName = String.valueOf(apply);