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

CreateCellForms() публичный Метод

Creates the document forms.
public CreateCellForms ( Table table ) : void
table AODL.Document.Content.Tables.Table
Результат void
		public void CreateCellForms(Table table)
		{
			/// TODO: ADD IMPLEMENTATION!
				
			try
			{
				XmlNode nodeOfficeForms;
				nodeOfficeForms = table.Node.SelectSingleNode("office:forms", _document.NamespaceManager);
					
				if (nodeOfficeForms != null)
				{
					foreach(XmlNode nodeChild in nodeOfficeForms)
					{
						if (this._document is SpreadsheetDocument)
						{
							ODFForm f = CreateForm(nodeChild);
							table.Forms.Add(f);
						}
					}
					nodeOfficeForms.RemoveAll();
				}
			}
			catch(Exception ex)
			{
				throw new AODLException("Exception while processing forms.", ex);
			}
		}