protected override void ExecuteAction(string ribbonId) { this.StartNewUndoEntry(); PowerPointPresentation pres = this.GetCurrentPresentation(); PowerPointSlide slide = this.GetCurrentSlide(); AutoZoom.AddDrillDownAnimation(pres, slide); }
/// <summary> /// Create the zoom in (drill down) effect in visual agenda. The zoom in slide is not part of the template. /// </summary> private static void GenerateVisualAgendaSlideZoomIn(PowerPointSlide slide, Shape zoomInShape) { PowerPointDrillDownSlide addedSlide; AutoZoom.AddDrillDownAnimation(zoomInShape, slide, out addedSlide, includeAckSlide: false, deletePreviouslyAdded: false); slide.GetShapesWithRule(new Regex("PPTZoomIn"))[0].Delete(); AgendaSection section = AgendaSlide.Decode(slide).Section; AgendaSlide.SetSlideName(addedSlide, Type.Visual, SlidePurpose.ZoomIn, section); zoomInShape.Visible = MsoTriState.msoTrue; }
protected override void ExecuteAction(string ribbonId) { this.StartNewUndoEntry(); AutoZoom.AddDrillDownAnimation(); }