public static CT_PivotAreas Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_PivotAreas ctObj = new CT_PivotAreas(); if (node.Attributes["count"] != null) ctObj.count = XmlHelper.ReadUInt(node.Attributes["count"]); ctObj.pivotArea = new List<CT_PivotArea>(); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "pivotArea") ctObj.pivotArea.Add(CT_PivotArea.Parse(childNode, namespaceManager)); } return ctObj; }
public CT_ConditionalFormat() { this.extLstField = new CT_ExtensionList(); this.pivotAreasField = new CT_PivotAreas(); this.scopeField = ST_Scope.selection; this.typeField = ST_Type.none; }