Esempio n. 1
0
 public static CT_EqArrPr Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_EqArrPr ctObj = new CT_EqArrPr();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "baseJc")
             ctObj.baseJc = CT_YAlign.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "maxDist")
             ctObj.maxDist = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "objDist")
             ctObj.objDist = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "rSpRule")
             ctObj.rSpRule = CT_SpacingRule.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "rSp")
             ctObj.rSp = CT_UnSignedInteger.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "ctrlPr")
             ctObj.ctrlPr = CT_CtrlPr.Parse(childNode, namespaceManager);
     }
     return ctObj;
 }
Esempio n. 2
0
 /// <summary>
 /// CT_EqArr class constructor
 /// </summary>
 public CT_EqArr()
 {
     this.eField = new List<CT_OMathArg>();
     this.eqArrPrField = new CT_EqArrPr();
 }