Пример #1
0
        public static CT_GroupShape Parse(XElement node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_GroupShape ctObj = new CT_GroupShape();

            foreach (XElement childNode in node.ChildElements())
            {
                if (childNode.Name.LocalName == "nvGrpSpPr")
                {
                    ctObj.nvGrpSpPr = CT_GroupShapeNonVisual.Parse(childNode, namespaceManager);
                }
                else if (childNode.Name.LocalName == "grpSpPr")
                {
                    ctObj.grpSpPr = CT_GroupShapeProperties.Parse(childNode, namespaceManager);
                }
            }
            return(ctObj);
        }
Пример #2
0
 public void Set(CT_GroupShape groupShape)
 {
     this.grpSpPrField   = groupShape.grpSpPr;
     this.nvGrpSpPrField = groupShape.nvGrpSpPr;
 }