- Add\Rework UI - Add Split Table and Listing - Add Support Customazeble schems
This commit is contained in:
@@ -85,6 +85,10 @@ class List(Renderable):
|
||||
if self._paragraphs:
|
||||
self._paragraphs[-1]._docx_paragraph.paragraph_format.space_after = self._last_paragraph_space_after
|
||||
|
||||
if getattr(self, "_space_before_mm6", False) and self._paragraphs:
|
||||
from docx.shared import Mm
|
||||
self._paragraphs[0]._docx_paragraph.paragraph_format.space_before = Mm(6)
|
||||
|
||||
for paragraph in self._paragraphs:
|
||||
for x in paragraph.render(previous_rendered, copy(layout_state)):
|
||||
layout_state.add_height(x.height)
|
||||
|
||||
Reference in New Issue
Block a user