Beispiel #1
0
        public void Init()
        {
            PreCGWDoc    = PresentationDocument.Open(@"../../../Files/6.CGW15-prezentacja.pptx", false);
            PreSampleDoc = PresentationDocument.Open(@"../../../Files/przykladowa-prezentacja.pptx", false);

            UniversalPreCGWMarker    = new UniversalPresentationMarker(PreCGWDoc.PresentationPart);
            UniversalPreSampleMarker = new UniversalPresentationMarker(PreSampleDoc.PresentationPart);
        }
 public MarkerPresentationMapper(string documentName, Split xml, PresentationPart presentation)
 {
     Xml = xml;
     SplitPresentationObj = (SplitPresentation)Xml.Items.Where(it => it is SplitPresentation && string.Equals(((SplitPresentation)it).Name, documentName)).SingleOrDefault();
     Presentation         = presentation;
     UniversalPreMarker   = new UniversalPresentationMarker(Presentation);
     SubdividedParagraphs = new string[presentation.SlideParts.Count()];
 }