예제 #1
0
 public CT_TableParts AddNewTableParts()
 {
     this.tablePartsField = new CT_TableParts();
     return this.tablePartsField;
 }
예제 #2
0
파일: Sheet.cs 프로젝트: vardars/npoi
 public static CT_TableParts Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_TableParts ctObj = new CT_TableParts();
     ctObj.count = XmlHelper.ReadUInt(node.Attributes["count"]);
     ctObj.tablePart = new List<CT_TablePart>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "tablePart")
             ctObj.tablePart.Add(CT_TablePart.Parse(childNode, namespaceManager));
     }
     return ctObj;
 }