Пример #1
0
 public static CT_BorderBoxPr Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_BorderBoxPr ctObj = new CT_BorderBoxPr();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "hideTop")
             ctObj.hideTop = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "hideBot")
             ctObj.hideBot = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "hideLeft")
             ctObj.hideLeft = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "hideRight")
             ctObj.hideRight = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "strikeH")
             ctObj.strikeH = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "strikeV")
             ctObj.strikeV = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "strikeBLTR")
             ctObj.strikeBLTR = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "strikeTLBR")
             ctObj.strikeTLBR = CT_OnOff.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "ctrlPr")
             ctObj.ctrlPr = CT_CtrlPr.Parse(childNode, namespaceManager);
     }
     return ctObj;
 }
Пример #2
0
 /// <summary>
 /// CT_BorderBox class constructor
 /// </summary>
 public CT_BorderBox()
 {
     this.eField = new CT_OMathArg();
     this.borderBoxPrField = new CT_BorderBoxPr();
 }