FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-docx/features/run-enum-props.feature at master · python-openxml/python-docx · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python-openxml
/
python-docx
Public
Notifications
You must be signed in to change notification settings
Fork
1.3k
Star
5.7k
Code
Issues
373
Pull requests
140
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-docx
/
features
/
run-enum-props.feature
Copy path
More file actions
More file actions
Latest commit
History
History
History
35 lines (29 loc) · 1.72 KB
Breadcrumbs
python-docx
/
features
/
run-enum-props.feature
Copy path
File metadata and controls
35 lines (29 loc) · 1.72 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
Feature
:
Query or apply enumerated run property
In order to query or change an enumerated font property of a word or phrase
As a python-docx developer
I
need a way to query and set the enumerated properties on a run
Scenario Outline
:
Get underline value of a run
Given
a run having
<underline-type>
underline
Then
the run underline property value is
<underline-value>
Examples
:
underline property values
|
underline
-
type
|
underline
-
value
|
|
inherited
|
None
|
|
no
|
False
|
|
single
|
True
|
|
double
|
WD_UNDERLINE
.
DOUBLE
|
Scenario Outline
:
Change underline setting for a run
Given
a run having
<underline-type>
underline
When
I set the run underline to
<new-underline-value>
Then
the run underline property value is
<expected-underline-value>
Examples
:
underline property values
|
underline
-
type
|
new
-
underline
-
value
|
expected
-
underline
-
value
|
|
inherited
|
True
|
True
|
|
inherited
|
False
|
False
|
|
inherited
|
None
|
None
|
|
inherited
|
WD_UNDERLINE
.
SINGLE
|
True
|
|
inherited
|
WD_UNDERLINE
.
DOUBLE
|
WD_UNDERLINE
.
DOUBLE
|
|
single
|
None
|
None
|
|
single
|
True
|
True
|
|
single
|
False
|
False
|
|
single
|
WD_UNDERLINE
.
SINGLE
|
True
|
|
single
|
WD_UNDERLINE
.
DOUBLE
|
WD_UNDERLINE
.
DOUBLE
|
Back
|
FazBrowse Home
|
New Git URL