FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-docx/features/doc-settings.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
/
doc-settings.feature
Copy path
More file actions
More file actions
Latest commit
History
History
History
38 lines (29 loc) · 1.37 KB
Breadcrumbs
python-docx
/
features
/
doc-settings.feature
Copy path
File metadata and controls
38 lines (29 loc) · 1.37 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
36
37
38
Feature
:
Document.settings
In order to operate on document-level settings
As a developer using python-docx
I
need access to settings to the Settings object for the document
And
I need properties and methods on Settings
Scenario Outline
:
Access document settings
Given
a document having
<a-or-no>
settings part
Then
document.settings is a Settings object
Examples
:
having a settings part or not
|
a
-
or
-
no
|
|
a
|
|
no
|
Scenario Outline
:
Settings.odd_and_even_pages_header_footer getter
Given
a Settings object
<with-or-without>
odd and even page headers as settings
Then
settings.odd_and_even_pages_header_footer is
<value>
Examples
:
Settings.odd_and_even_pages_header_footer states
|
with
-
or
-
without
|
value
|
|
with
|
True
|
|
without
|
False
|
Scenario Outline
:
Settings.odd_and_even_pages_header_footer setter
Given
a Settings object
<with-or-without>
odd and even page headers as settings
When
I assign
<value>
to settings.odd_and_even_pages_header_footer
Then
settings.odd_and_even_pages_header_footer is
<value>
Examples
:
Settings.odd_and_even_pages_header_footer assignment cases
|
with
-
or
-
without
|
value
|
|
with
|
True
|
|
with
|
False
|
|
without
|
True
|
|
without
|
False
|
Back
|
FazBrowse Home
|
New Git URL