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(); }
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); }