Пример #1
0
 public static CT_GroupChrPr Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_GroupChrPr ctObj = new CT_GroupChrPr();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "chr")
             ctObj.chr = CT_Char.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "pos")
             ctObj.pos = CT_TopBot.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "vertJc")
             ctObj.vertJc = CT_TopBot.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "ctrlPr")
             ctObj.ctrlPr = CT_CtrlPr.Parse(childNode, namespaceManager);
     }
     return ctObj;
 }
Пример #2
0
 /// <summary>
 /// CT_GroupChr class constructor
 /// </summary>
 public CT_GroupChr()
 {
     this.eField = new CT_OMathArg();
     this.groupChrPrField = new CT_GroupChrPr();
 }