String name = styleElement.getAttribute("style:name");
String newName = null;
OdfElement modifiedStyleElement = search
.getModifiedStyleElement(styleElement);
if (modifiedStyleElement == null) {
modifiedStyleElement = (OdfElement) styleElement.cloneNode(true);
search.addModifiedStyleElement(styleElement, modifiedStyleElement);
NodeList paragraphProperties = modifiedStyleElement
.getElementsByTagName("style:paragraph-properties");
if (paragraphProperties != null
&& paragraphProperties.getLength() > 0) {