X Tutup
Skip to content

Commit 1fff811

Browse files
author
Steve Canny
committed
docs: document Styles feature analysis
1 parent bdef31d commit 1fff811

File tree

8 files changed

+1384
-123
lines changed

8 files changed

+1384
-123
lines changed

docs/api/enum/WdBuiltinStyle.rst

Lines changed: 415 additions & 0 deletions
Large diffs are not rendered by default.

docs/api/enum/WdStyleType.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.. _WdStyleType:
2+
3+
``WD_STYLE_TYPE``
4+
=================
5+
6+
Specifies one of the four style types: paragraph, character, list, or
7+
table.
8+
9+
Example::
10+
11+
from docx import Document
12+
from docx.enum.style import WD_STYLE_TYPE
13+
14+
styles = Document().styles
15+
assert styles[0].type == WD_STYLE_TYPE.PARAGRAPH
16+
17+
----
18+
19+
CHARACTER
20+
Character style.
21+
22+
LIST
23+
List style.
24+
25+
PARAGRAPH
26+
Paragraph style.
27+
28+
TABLE
29+
Table style.

docs/api/enum/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ can be found here:
99
:titlesonly:
1010

1111
WdAlignParagraph
12+
WdBuiltinStyle
1213
WdOrientation
1314
WdSectionStart
15+
WdStyleType
1416
WdRowAlignment
1517
WdUnderline

docs/dev/analysis/features/coreprops.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ core.xml produced by Microsoft Word::
131131
</cp:coreProperties>
132132

133133

134-
Schema
135-
======
134+
Schema Excerpt
135+
--------------
136136

137137
::
138138

0 commit comments

Comments
 (0)
X Tutup