55
66@alias ("WD_ALIGN_PARAGRAPH" )
77class WD_PARAGRAPH_ALIGNMENT (XmlEnumeration ):
8- """
9- alias: **WD_ALIGN_PARAGRAPH**
8+ """Alias: **WD_ALIGN_PARAGRAPH**
109
1110 Specifies paragraph justification type.
1211
1312 Example::
1413
15- from docx.enum.text import WD_ALIGN_PARAGRAPH
14+ from docx.enum.text import WD_ALIGN_PARAGRAPH
1615
17- paragraph = document.add_paragraph()
18- paragraph.alignment = WD_ALIGN_PARAGRAPH.CENTER
16+ paragraph = document.add_paragraph() paragraph.alignment = WD_ALIGN_PARAGRAPH.CENTER
1917 """
2018
2119 __ms_name__ = "WdParagraphAlignment"
@@ -38,34 +36,32 @@ class WD_PARAGRAPH_ALIGNMENT(XmlEnumeration):
3836 "JUSTIFY_MED" ,
3937 5 ,
4038 "mediumKashida" ,
41- "Justified with a medium char" "acter compression ratio." ,
39+ "Justified with a medium character compression ratio." ,
4240 ),
4341 XmlMappedEnumMember (
4442 "JUSTIFY_HI" ,
4543 7 ,
4644 "highKashida" ,
47- "Justified with a high character" " compression ratio." ,
45+ "Justified with a high character compression ratio." ,
4846 ),
4947 XmlMappedEnumMember (
5048 "JUSTIFY_LOW" ,
5149 8 ,
5250 "lowKashida" ,
53- "Justified with a low character " " compression ratio." ,
51+ "Justified with a low character compression ratio." ,
5452 ),
5553 XmlMappedEnumMember (
5654 "THAI_JUSTIFY" ,
5755 9 ,
5856 "thaiDistribute" ,
59- "Justified according to Tha" "i formatting layout." ,
57+ "Justified according to Thai formatting layout." ,
6058 ),
6159 )
6260
6361
6462class WD_BREAK_TYPE (object ):
65- """
66- Corresponds to WdBreakType enumeration
67- http://msdn.microsoft.com/en-us/library/office/ff195905.aspx
68- """
63+ """Corresponds to WdBreakType enumeration http://msdn.microsoft.com/en-
64+ us/library/office/ff195905.aspx."""
6965
7066 COLUMN = 8
7167 LINE = 6
@@ -85,9 +81,9 @@ class WD_BREAK_TYPE(object):
8581
8682@alias ("WD_COLOR" )
8783class WD_COLOR_INDEX (XmlEnumeration ):
88- """
89- Specifies a standard preset color to apply. Used for font highlighting and
90- perhaps other applications.
84+ """Specifies a standard preset color to apply.
85+
86+ Used for font highlighting and perhaps other applications.
9187 """
9288
9389 __ms_name__ = "WdColorIndex"
@@ -121,15 +117,14 @@ class WD_COLOR_INDEX(XmlEnumeration):
121117
122118
123119class WD_LINE_SPACING (XmlEnumeration ):
124- """
125- Specifies a line spacing format to be applied to a paragraph.
120+ """Specifies a line spacing format to be applied to a paragraph.
126121
127122 Example::
128123
129- from docx.enum.text import WD_LINE_SPACING
124+ from docx.enum.text import WD_LINE_SPACING
130125
131- paragraph = document.add_paragraph()
132- paragraph.line_spacing_rule = WD_LINE_SPACING.EXACTLY
126+ paragraph = document.add_paragraph() paragraph.line_spacing_rule =
127+ WD_LINE_SPACING.EXACTLY
133128 """
134129
135130 __ms_name__ = "WdLineSpacing"
@@ -166,9 +161,7 @@ class WD_LINE_SPACING(XmlEnumeration):
166161
167162
168163class WD_TAB_ALIGNMENT (XmlEnumeration ):
169- """
170- Specifies the tab stop alignment to apply.
171- """
164+ """Specifies the tab stop alignment to apply."""
172165
173166 __ms_name__ = "WdTabAlignment"
174167
@@ -189,9 +182,7 @@ class WD_TAB_ALIGNMENT(XmlEnumeration):
189182
190183
191184class WD_TAB_LEADER (XmlEnumeration ):
192- """
193- Specifies the character to use as the leader with formatted tabs.
194- """
185+ """Specifies the character to use as the leader with formatted tabs."""
195186
196187 __ms_name__ = "WdTabLeader"
197188
@@ -208,9 +199,7 @@ class WD_TAB_LEADER(XmlEnumeration):
208199
209200
210201class WD_UNDERLINE (XmlEnumeration ):
211- """
212- Specifies the style of underline applied to a run of characters.
213- """
202+ """Specifies the style of underline applied to a run of characters."""
214203
215204 __ms_name__ = "WdUnderline"
216205
0 commit comments