Esempio n. 1
0
 protected override void Given()
 {
     this.slideManager       = new SlideManager();
     this.powerpointHandle   = new Microsoft.Office.Interop.PowerPoint.Application();
     this.presentationHandle = this.SUT.CreatePowerPointPresentation(this.powerpointHandle, false);
     this.slideHandle        = this.slideManager.AddSlideToEnd(this.presentationHandle);
     this.shapesHandler      = new Shapes();
 }
Esempio n. 2
0
 protected override void Given()
 {
     this.slideManager       = new SlideManager();
     this.powerpointHandle   = new Microsoft.Office.Interop.PowerPoint.Application();
     this.presentationHandle = this.SUT.CreatePowerPointPresentation(this.powerpointHandle, false);
     this.slideHandle        = this.slideManager.AddSlideToEnd(this.presentationHandle);
     this.shapesHandler      = new Shapes();
     this.returnedShape      = this.shapesHandler.AddTextBoxToSlide(this.slideHandle, MsoTextOrientation.msoTextOrientationHorizontal, 100f, 100f, 100f, 100f);
 }