-
Notifications
You must be signed in to change notification settings - Fork 546
/
Copy pathph-placeholder-props.feature
53 lines (44 loc) · 1.39 KB
/
ph-placeholder-props.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Feature: Get and change common slide placeholder properties
In order to identify and characterize placeholder shapes
As a developer using python-pptx
I need a common set of properties available on any slide placeholder
Scenario Outline: Get placeholder shape type
Given an unpopulated <type> placeholder shape
Then shape.shape_type is MSO_SHAPE_TYPE.PLACEHOLDER
Examples: Unpopulated placeholder types
| type |
| title |
| content |
| text |
| chart |
| table |
| smart art |
| media |
| clip art |
| picture |
Scenario Outline: Get placeholder position and size
Given an unpopulated <type> placeholder shape
Then the placeholder's position and size are inherited from its layout
Examples: Unpopulated placeholder types
| type |
| content |
| text |
| chart |
| table |
| smart art |
| media |
| clip art |
| picture |
Scenario Outline: Get placeholder format
Given an unpopulated <type> placeholder shape
Then shape.placeholder_format is its _PlaceholderFormat object
Examples: Unpopulated placeholder types
| type |
| content |
| text |
| chart |
| table |
| smart art |
| media |
| clip art |
| picture |