Example #1
0
 public static CT_DTable Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_DTable ctObj = new CT_DTable();
     ctObj.extLst = new List<CT_Extension>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "showHorzBorder")
             ctObj.showHorzBorder = CT_Boolean.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "showVertBorder")
             ctObj.showVertBorder = CT_Boolean.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "showOutline")
             ctObj.showOutline = CT_Boolean.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "showKeys")
             ctObj.showKeys = CT_Boolean.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "spPr")
             ctObj.spPr = CT_ShapeProperties.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "txPr")
             ctObj.txPr = CT_TextBody.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "extLst")
             ctObj.extLst.Add(CT_Extension.Parse(childNode, namespaceManager));
     }
     return ctObj;
 }
Example #2
0
 public CT_PlotArea()
 {
     this.extLstField = new List<CT_Extension>();
     this.dTableField = new CT_DTable();
     this.items1Field = new List<object>();
     this.itemsField = new List<object>();
     this.layoutField = new CT_Layout();
 }