AODL.Document.Import.OpenDocument.NodeProcessors.MainContentProcessor.CreateTableColumn C# (CSharp) Метод

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

Creates the table column.
private CreateTableColumn ( XmlNode node ) : Column
node System.Xml.XmlNode The node.
Результат AODL.Document.Content.Tables.Column
		private Column CreateTableColumn(XmlNode node)
		{
			try
			{
				//Create a new Row
				Column column				= new Column(this._document, node);
				//Recieve RowStyle
				IStyle columnStyle			= this._document.Styles.GetStyleByName(column.StyleName);

				if (columnStyle != null)
					column.Style			= columnStyle;
				//No need for a warning

				return column;
			}
			catch(Exception ex)
			{
				throw new AODLException("Exception while trying to create a Table Column.", ex);
			}
		}