AODL.Document.TextDocuments.DocumentStyles.InsertOfficeAutomaticStylesNode C# (CSharp) Method

InsertOfficeAutomaticStylesNode() public method

Inserts the office automatic styles node into this XML style document.
public InsertOfficeAutomaticStylesNode ( XmlNode aOfficeAutomaticStyleNode, XmlNamespaceManager xmlNamespaceMng ) : void
aOfficeAutomaticStyleNode System.Xml.XmlNode A office automatic style node.
xmlNamespaceMng System.Xml.XmlNamespaceManager The XML namespace MNG.
return void
		public virtual void InsertOfficeAutomaticStylesNode(XmlNode aOfficeAutomaticStyleNode, XmlNamespaceManager xmlNamespaceMng)
		{
			this.Styles.SelectSingleNode("//office:automatic-styles",
			                             xmlNamespaceMng).AppendChild(aOfficeAutomaticStyleNode);
		}