private void PasteIntoGroup(int originalSlideNo, int expSlideNo) { Microsoft.Office.Interop.PowerPoint.ShapeRange shapes = GetShapesByPrefix(originalSlideNo, ShapeToCopyPrefix); shapes.Cut(); PpOperations.SelectShape(GroupToPaste); PplFeatures.PasteIntoGroup(); AssertIsSame(originalSlideNo, expSlideNo); }
private void PasteIntoGroup(int originalSlideNo, int expSlideNo) { var shapes = GetShapesByPrefix(originalSlideNo, ShapeToCopyPrefix); shapes.Cut(); PpOperations.SelectShape(GroupToPaste); PplFeatures.PasteIntoGroup(); AssertIsSame(originalSlideNo, expSlideNo); }
private void IsClipboardRestoredPasteIntoGroup(int originalSlideNo, int expSlideNo) { CheckIfClipboardIsRestored(() => { Microsoft.Office.Interop.PowerPoint.ShapeRange shapes = GetShapesByPrefix(OrigIsClipboardRestoredPasteIntoGroupSlideNo, ShapeToCopyPrefix); // This should be restored to clipboard later shapes.Cut(); PpOperations.SelectShape(GroupToPaste); PplFeatures.PasteIntoGroup(); }, originalSlideNo, ShapeToCopyPrefix, expSlideNo, "", ShapeToCompareCopied); }