Remove vertical spacing between paragraphs.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b1f1d67653
commit
792a4481b3
|
@ -57,6 +57,9 @@ def double_space_and_indent(paragraphs):
|
|||
|
||||
for paragraph in paragraphs:
|
||||
paragraph.paragraph_format.line_spacing = 2
|
||||
paragraph.paragraph_format.space_before = docx.shared.Inches(0)
|
||||
paragraph.paragraph_format.space_after = docx.shared.Inches(0)
|
||||
|
||||
this_paragraph_plaintext = bool(paragraph.style.name == 'Normal')
|
||||
|
||||
# Indent first lines of paragraphs except for styled ones (headings, etc.) and initial
|
||||
|
|
Loading…
Reference in New Issue