forked from python-openxml/python-docx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtbl-cell-props.feature
More file actions
25 lines (19 loc) · 956 Bytes
/
tbl-cell-props.feature
File metadata and controls
25 lines (19 loc) · 956 Bytes
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
Feature: Get and set table cell properties
In order to format a table cell to my requirements
As a developer using python-docx
I need a way to get and set the properties of a table cell
Scenario Outline: Get cell width
Given a table cell having a width of <width-setting>
Then the reported width of the cell is <reported-width>
Examples: Table cell width settings
| width-setting | reported-width |
| no explicit setting | None |
| 1 inch | 1 inch |
Scenario Outline: Set cell width
Given a table cell having a width of <width-setting>
When I set the cell width to <new-setting>
Then the reported width of the cell is <reported-width>
Examples: table column width values
| width-setting | new-setting | reported-width |
| no explicit setting | 1 inch | 1 inch |
| 2 inches | 1 inch | 1 inch |