コード例 #1
0
        public void FT_TextFragmentsTest()
        {
            PpOperations.SelectSlide(3);
            int[][] fragments = new[]
            {
                new[] { 17, 37 },
                new[] { 45, 114 },
                new[] { 122, 140 },
                new[] { 148, 166 },
                new[] { 174, 192 },
                new[] { 200, 218 },
                new[] { 226, 234 },
                new[] { 242, 257 },
                new[] { 268, 286 },
                new[] { 305, 313 },
                new[] { 370, 388 },
            };

            foreach (int[] fragment in fragments)
            {
                PpOperations.SelectTextInShape(ShapeName, fragment[0], fragment[1]);
                PplFeatures.HighlightFragments();
            }

            AssertIsSame(3, 4);
        }