AODL.Document.SpreadsheetDocuments.SpreadsheetDocument.StyleNodeExists C# (CSharp) Метод

StyleNodeExists() приватный Метод

Styles the node exists.
private StyleNodeExists ( string styleName ) : bool
styleName string Name of the style.
Результат bool
		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;
		}