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); }
public void Set(CT_GroupShape groupShape) { this.grpSpPrField = groupShape.grpSpPr; this.nvGrpSpPrField = groupShape.nvGrpSpPr; }