private bool StyleNodeExists(string styleName)
{
XmlNode styleNode = this.XmlDoc.SelectSingleNode(
"/office:document-content/office:automatic-styles/style:style[@style:name='"+styleName+"']", this.NamespaceManager);
if (styleNode == null)
return false;
return true;
}