To reduce page count, allow splitting paragraphs across pages.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c4bbbb5dab
commit
b958a537de
|
@ -60,6 +60,9 @@ def double_space_and_indent(paragraphs):
|
|||
paragraph.paragraph_format.space_before = docx.shared.Inches(0)
|
||||
paragraph.paragraph_format.space_after = docx.shared.Inches(0)
|
||||
|
||||
# To reduce page count, allow splitting paragraphs across pages.
|
||||
paragraph.paragraph_format.widow_control = False
|
||||
|
||||
this_paragraph_plaintext = not paragraph.style.name.startswith('Heading')
|
||||
|
||||
# Indent first lines of paragraphs except for styled ones (headings, etc.) and initial
|
||||
|
|
Loading…
Reference in New Issue