public WsDrPart() { this.InitNamespaces(); this._root = new CT_Drawing(); }
public XMLPictureShapesModel(PartManager manager, CT_Sheet sheetEntry, string drawingId) { this._manager = manager; this._parent = this._manager.GetWorksheetXmlPart(sheetEntry); this._pictures = new List <XMLPictureShapeModel>(); foreach (Relationship item in this._manager.GetRelationshipsForSheet(sheetEntry, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing")) { if (item.RelationshipId == drawingId) { this._drawingrel = item; this._drawing = (WsDrPart)this._manager.GetPartByLocation(item.RelatedPart).HydratedPart; AspNetCore.ReportingServices.Rendering.ExcelOpenXmlRenderer.Parser.drawingml.x2006.spreadsheetDrawing.CT_Drawing cT_Drawing = (AspNetCore.ReportingServices.Rendering.ExcelOpenXmlRenderer.Parser.drawingml.x2006.spreadsheetDrawing.CT_Drawing) this._drawing.Root; break; } } }