public static CT_GroupShapeNonVisual Parse(XElement node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_GroupShapeNonVisual ctObj = new CT_GroupShapeNonVisual(); foreach (XElement childNode in node.ChildElements()) { if (childNode.Name.LocalName == "cNvPr") { ctObj.cNvPr = CT_NonVisualDrawingProps.Parse(childNode, namespaceManager); } else if (childNode.Name.LocalName == "cNvGrpSpPr") { ctObj.cNvGrpSpPr = CT_NonVisualGroupDrawingShapeProps.Parse(childNode, namespaceManager); } } return(ctObj); }
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 CT_GroupShapeNonVisual AddNewNvGrpSpPr() { this.nvGrpSpPrField = new CT_GroupShapeNonVisual(); return(this.nvGrpSpPrField); }
public void Set(CT_GroupShape groupShape) { this.grpSpPrField = groupShape.grpSpPr; this.nvGrpSpPrField = groupShape.nvGrpSpPr; }