示例#1
0
        public List <ISlideData> FetchPresentationData(string pathToPresentation)
        {
            Presentation presentation = FunctionalTestExtensions.GetPresentations().Open(pathToPresentation,
                                                                                         WithWindow: MsoTriState.msoFalse);
            List <ISlideData> slideData = presentation.Slides.Cast <Slide>().Select(SlideData.FromSlide).ToList();

            presentation.Close();
            return(slideData);
        }
示例#2
0
 public void NewWindow()
 {
     Presentation presentation = FunctionalTestExtensions.GetPresentations().Add();
 }