public static CT_ShapeNonVisual Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_ShapeNonVisual ctObj = new CT_ShapeNonVisual(); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "cNvPr") { ctObj.cNvPr = CT_NonVisualDrawingProps.Parse(childNode, namespaceManager); } else if (childNode.LocalName == "cNvSpPr") { ctObj.cNvSpPr = CT_NonVisualDrawingShapeProps.Parse(childNode, namespaceManager); } } return(ctObj); }
public static CT_NonVisualDrawingShapeProps Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_NonVisualDrawingShapeProps ctObj = new CT_NonVisualDrawingShapeProps(); ctObj.txBox = XmlHelper.ReadBool(node.Attributes["txBox"]); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "spLocks") { ctObj.spLocks = CT_ShapeLocking.Parse(childNode, namespaceManager); } else if (childNode.LocalName == "extLst") { ctObj.extLst = CT_OfficeArtExtensionList.Parse(childNode, namespaceManager); } } return(ctObj); }
public CT_NonVisualDrawingShapeProps AddNewCNvSpPr() { this.cNvSpPrField = new CT_NonVisualDrawingShapeProps(); return this.cNvSpPrField; }
public CT_NonVisualDrawingShapeProps AddNewCNvSpPr() { this.cNvSpPrField = new CT_NonVisualDrawingShapeProps(); return(this.cNvSpPrField); }
public static CT_NonVisualDrawingShapeProps Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_NonVisualDrawingShapeProps ctObj = new CT_NonVisualDrawingShapeProps(); ctObj.txBox = XmlHelper.ReadBool(node.Attributes["txBox"]); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "spLocks") ctObj.spLocks = CT_ShapeLocking.Parse(childNode, namespaceManager); else if (childNode.LocalName == "extLst") ctObj.extLst = CT_OfficeArtExtensionList.Parse(childNode, namespaceManager); } return ctObj; }