Пример #1
0
 internal SlideOLEObject(
     OpenXmlCompositeElement shapeTreeChild,
     ShapeContext spContext,
     SCSlide slide) : base(slide, shapeTreeChild)
 {
     ShapeTreeChild = shapeTreeChild;
     Context        = spContext;
 }
Пример #2
0
 internal SlidePicture(
     SCSlide slide,
     string blipRelateId,
     ShapeContext spContext,
     P.Picture pPicture) : base(slide, pPicture)
 {
     Image   = new SCImage(Slide.SlidePart, blipRelateId);
     Context = spContext;
 }
Пример #3
0
 internal SlideGroupShape(
     ILocation innerTransform,
     ShapeContext spContext,
     List <IShape> groupedShapes,
     OpenXmlCompositeElement pShapeTreeChild,
     SCSlide slide) : base(slide, pShapeTreeChild)
 {
     _innerTransform = innerTransform;
     Context         = spContext;
     Shapes          = groupedShapes;
 }
Пример #4
0
 internal SlideTable(
     OpenXmlCompositeElement pShapeTreeChild,
     ILocation innerTransform,
     ShapeContext spContext,
     SCSlide slide) : base(slide, pShapeTreeChild)
 {
     this.innerTransform = innerTransform;
     Context             = spContext;
     rowCollection       =
         new ResettableLazy <RowCollection>(() => RowCollection.Create(this, (P.GraphicFrame)PShapeTreeChild));
     pGraphicFrame = pShapeTreeChild as P.GraphicFrame;
 }
Пример #5
0
 protected SlideShape(SCSlide slide, OpenXmlCompositeElement pShapeTreeChild)
     : base(pShapeTreeChild)
 {
     this.Slide = slide;
 }