FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-docx/tests/oxml/unitdata/section.py 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
/
tests
/
oxml
/
unitdata
/
section.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
51 lines (34 loc) · 893 Bytes
Breadcrumbs
python-docx
/
tests
/
oxml
/
unitdata
/
section.py
Copy path
File metadata and controls
51 lines (34 loc) · 893 Bytes
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
39
40
41
42
43
44
45
46
47
48
49
50
51
"""Test data builders for section-related XML elements."""
from
...
unitdata
import
BaseBuilder
class
CT_PageMarBuilder
(
BaseBuilder
):
__tag__
=
"w:pgMar"
__nspfxs__
=
(
"w"
,)
__attrs__
=
(
"w:top"
,
"w:right"
,
"w:bottom"
,
"w:left"
,
"w:header"
,
"w:footer"
,
"w:gutter"
,
)
class
CT_PageSzBuilder
(
BaseBuilder
):
__tag__
=
"w:pgSz"
__nspfxs__
=
(
"w"
,)
__attrs__
=
(
"w:w"
,
"w:h"
,
"w:orient"
,
"w:code"
)
class
CT_SectPrBuilder
(
BaseBuilder
):
__tag__
=
"w:sectPr"
__nspfxs__
=
(
"w"
,)
__attrs__
=
()
class
CT_SectTypeBuilder
(
BaseBuilder
):
__tag__
=
"w:type"
__nspfxs__
=
(
"w"
,)
__attrs__
=
(
"w:val"
,)
def
a_pgMar
():
return
CT_PageMarBuilder
()
def
a_pgSz
():
return
CT_PageSzBuilder
()
def
a_sectPr
():
return
CT_SectPrBuilder
()
def
a_type
():
return
CT_SectTypeBuilder
()
Back
|
FazBrowse Home
|
New Git URL