forked from python-openxml/python-docx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtbl-item-access.feature
More file actions
48 lines (39 loc) · 1.85 KB
/
tbl-item-access.feature
File metadata and controls
48 lines (39 loc) · 1.85 KB
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
Feature: Access table rows, columns, and cells
In order to query and modify individual table items
As an python-docx developer
I need the ability to access table rows, columns, and cells
Scenario: Access table row collection
Given a table having two rows
Then I can access the row collection of the table
And the length of the row collection is 2
Scenario: Access row in row collection
Given a row collection having two rows
Then I can iterate over the row collection
And I can access a collection row by index
Scenario: Access table column collection
Given a table having two columns
Then I can access the column collection of the table
And the length of the column collection is 2
Scenario: Access column in column collection
Given a column collection having two columns
Then I can iterate over the column collection
And I can access a collection column by index
Scenario: Access cell collection of table column
Given a table column having two cells
Then I can access the cell collection of the column
And I can get the length of the column cell collection
Scenario: Access cell collection of table row
Given a table row having two cells
Then I can access the cell collection of the row
And I can get the length of the row cell collection
Scenario: Access cell in column cell collection
Given a column cell collection having two cells
Then I can iterate over the column cells
And I can access a column cell by index
Scenario: Access cell in row cell collection
Given a row cell collection having two cells
Then I can iterate over the row cells
And I can access a row cell by index
Scenario: Access cell in table
Given a table having two rows
Then I can access a cell using its row and column indices