Exemplo n.º 1
0
 internal ExcelVmlDrawingCommentCollection(ExcelPackage pck, ExcelWorksheet ws, Uri uri) :
     base(pck, ws, uri)
 {
     if (uri == null)
     {
         VmlDrawingXml.LoadXml(CreateVmlDrawings());
         _drawings = new RangeCollection(new List <IRangeID>());
     }
     else
     {
         AddDrawingsFromXml(ws);
     }
 }
 internal ExcelVmlDrawingCommentCollection(ExcelPackage pck, ExcelWorksheet ws, Uri uri) :
     base(pck, ws, uri)
 {
     _drawings = new CellStore <ExcelVmlDrawingComment>();
     if (uri == null)
     {
         VmlDrawingXml.LoadXml(CreateVmlDrawings());
     }
     else
     {
         AddDrawingsFromXml(ws);
     }
 }
Exemplo n.º 3
0
 internal ExcelVmlDrawingCollection(ExcelWorksheet ws, Uri uri) :
     base(ws, uri, "d:legacyDrawing/@r:id")
 {
     _drawingsCellStore = new CellStore <int>();
     if (uri == null)
     {
         VmlDrawingXml.LoadXml(CreateVmlDrawings());
     }
     else
     {
         AddDrawingsFromXml(ws);
     }
 }
 internal ExcelVmlDrawingPictureCollection(ExcelWorksheet ws, Uri uri) :
     base(ws, uri, "d:legacyDrawingHF/@r:id")
 {
     if (uri == null)
     {
         VmlDrawingXml.LoadXml(CreateVmlDrawings());
         _images = new List <ExcelVmlDrawingPicture>();
     }
     else
     {
         AddDrawingsFromXml();
     }
 }
 internal ExcelVmlDrawingPictureCollection(ExcelPackage pck, ExcelWorksheet ws, Uri uri)
     : base(pck, ws, uri)
 {
     _pck = pck;
     _ws = ws;
     if (uri == null)
     {
         VmlDrawingXml.LoadXml(CreateVmlDrawings());
         _images = new List<ExcelVmlDrawingPicture>();
     }
     else
     {
         AddDrawingsFromXml();
     }
 }