forked from python-openxml/python-docx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoc-styles.feature
More file actions
17 lines (14 loc) · 598 Bytes
/
Copy pathdoc-styles.feature
File metadata and controls
17 lines (14 loc) · 598 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Feature: Access a document style
In order to operate on a particular document style
As a developer using python-docx
I access to each style in the document style collection
Scenario Outline: Access style in style collection
Given a document having <styles-state>
Then len(styles) is <style-count>
And I can iterate over its styles
And I can access a style by style id
And I can access a style by its UI name
Examples: having styles or not
| styles-state | style-count |
| a styles part | 6 |
| no styles part | 4 |