Exemplo n.º 1
0
        public static CT_UpDownBars Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_UpDownBars ctObj = new CT_UpDownBars();

            ctObj.extLst = new List <CT_Extension>();
            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.LocalName == "gapWidth")
                {
                    ctObj.gapWidth = CT_GapAmount.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "upBars")
                {
                    ctObj.upBars = CT_UpDownBar.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "downBars")
                {
                    ctObj.downBars = CT_UpDownBar.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "extLst")
                {
                    ctObj.extLst.Add(CT_Extension.Parse(childNode, namespaceManager));
                }
            }
            return(ctObj);
        }
Exemplo n.º 2
0
        public static CT_UpDownBar Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_UpDownBar ctObj = new CT_UpDownBar();

            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.LocalName == "spPr")
                {
                    ctObj.spPr = CT_ShapeProperties.Parse(childNode, namespaceManager);
                }
            }
            return(ctObj);
        }
Exemplo n.º 3
0
 public static CT_UpDownBar Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_UpDownBar ctObj = new CT_UpDownBar();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "spPr")
             ctObj.spPr = CT_ShapeProperties.Parse(childNode, namespaceManager);
     }
     return ctObj;
 }
Exemplo n.º 4
0
 public CT_UpDownBars()
 {
     this.extLstField = new List<CT_Extension>();
     this.downBarsField = new CT_UpDownBar();
     this.upBarsField = new CT_UpDownBar();
     this.gapWidthField = new CT_GapAmount();
 }