public static CT_DPr Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_DPr ctObj = new CT_DPr(); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "begChr") ctObj.begChr = CT_Char.Parse(childNode, namespaceManager); else if (childNode.LocalName == "sepChr") ctObj.sepChr = CT_Char.Parse(childNode, namespaceManager); else if (childNode.LocalName == "endChr") ctObj.endChr = CT_Char.Parse(childNode, namespaceManager); else if (childNode.LocalName == "grow") ctObj.grow = CT_OnOff.Parse(childNode, namespaceManager); else if (childNode.LocalName == "shp") ctObj.shp = CT_Shp.Parse(childNode, namespaceManager); else if (childNode.LocalName == "ctrlPr") ctObj.ctrlPr = CT_CtrlPr.Parse(childNode, namespaceManager); } return ctObj; }
/// <summary> /// CT_D class constructor /// </summary> public CT_D() { this.eField = new List<CT_OMathArg>(); this.dPrField = new CT_DPr(); }