Update for 15-03-22 22:00
This commit is contained in:
parent
584f4ee015
commit
8a77ea249f
@ -1,4 +1,4 @@
|
|||||||
= Python docx =
|
Python docx =
|
||||||
|
|
||||||
Python docx is a library for generating a .docx file with python code
|
Python docx is a library for generating a .docx file with python code
|
||||||
|
|
||||||
@ -38,8 +38,114 @@ There are two built in lists, `List Number` and `List Bullet`. `List Number`
|
|||||||
incremements each time it is added to a paragraph and creats a numbered list.
|
incremements each time it is added to a paragraph and creats a numbered list.
|
||||||
Same applied to `List Bullet`.
|
Same applied to `List Bullet`.
|
||||||
|
|
||||||
|
=== Tables ===
|
||||||
|
|
||||||
|
The following are the styles for tables
|
||||||
|
{{{
|
||||||
|
Normal Table
|
||||||
|
Table Grid
|
||||||
|
Light Shading
|
||||||
|
Light Shading Accent 1
|
||||||
|
Light Shading Accent 2
|
||||||
|
Light Shading Accent 3
|
||||||
|
Light Shading Accent 4
|
||||||
|
Light Shading Accent 5
|
||||||
|
Light Shading Accent 6
|
||||||
|
Light List
|
||||||
|
Light List Accent 1
|
||||||
|
Light List Accent 2
|
||||||
|
Light List Accent 3
|
||||||
|
Light List Accent 4
|
||||||
|
Light List Accent 5
|
||||||
|
Light List Accent 6
|
||||||
|
Light Grid
|
||||||
|
Light Grid Accent 1
|
||||||
|
Light Grid Accent 2
|
||||||
|
Light Grid Accent 3
|
||||||
|
Light Grid Accent 4
|
||||||
|
Light Grid Accent 5
|
||||||
|
Light Grid Accent 6
|
||||||
|
Medium Shading 1
|
||||||
|
Medium Shading 1 Accent 1
|
||||||
|
Medium Shading 1 Accent 2
|
||||||
|
Medium Shading 1 Accent 3
|
||||||
|
Medium Shading 1 Accent 4
|
||||||
|
Medium Shading 1 Accent 5
|
||||||
|
Medium Shading 1 Accent 6
|
||||||
|
Medium Shading 2
|
||||||
|
Medium Shading 2 Accent 1
|
||||||
|
Medium Shading 2 Accent 2
|
||||||
|
Medium Shading 2 Accent 3
|
||||||
|
Medium Shading 2 Accent 4
|
||||||
|
Medium Shading 2 Accent 5
|
||||||
|
Medium Shading 2 Accent 6
|
||||||
|
Medium List 1
|
||||||
|
Medium List 1 Accent 1
|
||||||
|
Medium List 1 Accent 2
|
||||||
|
Medium List 1 Accent 3
|
||||||
|
Medium List 1 Accent 4
|
||||||
|
Medium List 1 Accent 5
|
||||||
|
Medium List 1 Accent 6
|
||||||
|
Medium List 2
|
||||||
|
Medium List 2 Accent 1
|
||||||
|
Medium List 2 Accent 2
|
||||||
|
Medium List 2 Accent 3
|
||||||
|
Medium List 2 Accent 4
|
||||||
|
Medium List 2 Accent 5
|
||||||
|
Medium List 2 Accent 6
|
||||||
|
Medium Grid 1
|
||||||
|
Medium Grid 1 Accent 1
|
||||||
|
Medium Grid 1 Accent 2
|
||||||
|
Medium Grid 1 Accent 3
|
||||||
|
Medium Grid 1 Accent 4
|
||||||
|
Medium Grid 1 Accent 5
|
||||||
|
Medium Grid 1 Accent 6
|
||||||
|
Medium Grid 2
|
||||||
|
Medium Grid 2 Accent 1
|
||||||
|
Medium Grid 2 Accent 2
|
||||||
|
Medium Grid 2 Accent 3
|
||||||
|
Medium Grid 2 Accent 4
|
||||||
|
Medium Grid 2 Accent 5
|
||||||
|
Medium Grid 2 Accent 6
|
||||||
|
Medium Grid 3
|
||||||
|
Medium Grid 3 Accent 1
|
||||||
|
Medium Grid 3 Accent 2
|
||||||
|
Medium Grid 3 Accent 3
|
||||||
|
Medium Grid 3 Accent 4
|
||||||
|
Medium Grid 3 Accent 5
|
||||||
|
Medium Grid 3 Accent 6
|
||||||
|
Dark List
|
||||||
|
Dark List Accent 1
|
||||||
|
Dark List Accent 2
|
||||||
|
Dark List Accent 3
|
||||||
|
Dark List Accent 4
|
||||||
|
Dark List Accent 5
|
||||||
|
Dark List Accent 6
|
||||||
|
Colorful Shading
|
||||||
|
Colorful Shading Accent 1
|
||||||
|
Colorful Shading Accent 2
|
||||||
|
Colorful Shading Accent 3
|
||||||
|
Colorful Shading Accent 4
|
||||||
|
Colorful Shading Accent 5
|
||||||
|
Colorful Shading Accent 6
|
||||||
|
Colorful List
|
||||||
|
Colorful List Accent 1
|
||||||
|
Colorful List Accent 2
|
||||||
|
Colorful List Accent 3
|
||||||
|
Colorful List Accent 4
|
||||||
|
Colorful List Accent 5
|
||||||
|
Colorful List Accent 6
|
||||||
|
Colorful Grid
|
||||||
|
Colorful Grid Accent 1
|
||||||
|
Colorful Grid Accent 2
|
||||||
|
Colorful Grid Accent 3
|
||||||
|
Colorful Grid Accent 4
|
||||||
|
Colorful Grid Accent 5
|
||||||
|
Colorful Grid Accent 6
|
||||||
|
}}}
|
||||||
|
|
||||||
== Tables ==
|
== Tables ==
|
||||||
|
|
||||||
Tables are added via the `add_table(rows, cols, style)` function of the
|
Tables are added via the `add_table(rows, cols, style)` function of the
|
||||||
`Document` class.
|
`Document` class.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user