Exemplo n.º 1
0
 public static CT_NaryPr Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_NaryPr ctObj = new CT_NaryPr();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "chr")
             ctObj.chr = CT_Char.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "limLoc")
             ctObj.limLoc = CT_LimLoc.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "grow")
             ctObj.grow = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "subHide")
             ctObj.subHide = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "supHide")
             ctObj.supHide = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "ctrlPr")
             ctObj.ctrlPr = CT_CtrlPr.Parse(childNode, namespaceManager);
     }
     return ctObj;
 }
Exemplo n.º 2
0
 /// <summary>
 /// CT_Nary class constructor
 /// </summary>
 public CT_Nary()
 {
     this.eField = new CT_OMathArg();
     this.supField = new CT_OMathArg();
     this.subField = new CT_OMathArg();
     this.naryPrField = new CT_NaryPr();
 }