コード例 #1
0
        private void TestSingleZoomConfig1()
        {
            PplFeatures.SetZoomProperties(true, true);

            PpOperations.SelectSlide(4);
            PpOperations.SelectShape("First ZoomShape");
            PplFeatures.AddZoomToArea();

            AssertAreSame(4, 8, 4);
        }
コード例 #2
0
        private void TestMultipleZoomConfig1()
        {
            PplFeatures.SetZoomProperties(true, true);

            PpOperations.SelectSlide(14);
            PpOperations.SelectShapes(new[] { "First ZoomShape", "Second ZoomShape", "Third ZoomShape", "Fourth ZoomShape" });
            PplFeatures.AddZoomToArea();

            AssertAreSame(14, 24, 10);
        }
コード例 #3
0
        private void TestSingleZoomConfig2()
        {
            PplFeatures.SetZoomProperties(false, false);

            PpOperations.SelectSlide(10);
            PpOperations.SelectShape("First ZoomShape");
            PplFeatures.AddZoomToArea();

            AssertAreSame(10, 12, 2);
        }
コード例 #4
0
        private void TestMultipleZoomConfig4()
        {
            PplFeatures.SetZoomProperties(false, false);

            PpOperations.SelectSlide(42);
            PpOperations.SelectShapes(new[] { "First ZoomShape", "Second ZoomShape", "Third ZoomShape", "Fourth ZoomShape" });
            PplFeatures.AddZoomToArea();

            AssertAreSame(42, 44, 2);
        }
コード例 #5
0
        private void TestStepBackBackground()
        {
            PplFeatures.SetZoomProperties(false, true);

            PpOperations.SelectSlide(24);
            PpOperations.SelectShape("Step Back This Shape");
            PplFeatures.StepBack();

            AssertIsSame(23, 27);
            AssertIsSame(24, 28);
            AssertIsSame(25, 29);
        }
コード例 #6
0
        private void TestStepBack()
        {
            PplFeatures.SetZoomProperties(true, true);

            PpOperations.SelectSlide(17);
            PpOperations.SelectShape("Step Back This Shape");
            PplFeatures.StepBack();

            AssertIsSame(16, 20);
            AssertIsSame(17, 21);
            AssertIsSame(18, 22);
        }
コード例 #7
0
        private void TestDrillDownBackground()
        {
            PplFeatures.SetZoomProperties(false, true);

            PpOperations.SelectSlide(10);
            PpOperations.SelectShape("Drill Down This Shape");
            PplFeatures.DrillDown();

            AssertIsSame(10, 13);
            AssertIsSame(11, 14);
            AssertIsSame(12, 15);
        }
コード例 #8
0
        private void TestDrillDown()
        {
            PplFeatures.SetZoomProperties(true, true);

            PpOperations.SelectSlide(4);
            PpOperations.SelectShape("Drill Down This Shape");
            PplFeatures.DrillDown();

            AssertIsSame(4, 7);
            AssertIsSame(5, 8);
            AssertIsSame(6, 9);
        }