Update tests

This commit is contained in:
Veronica Berglyd Olsen
2024-11-13 20:40:44 +01:00
parent 7a111bb173
commit ed431aa30f
11 changed files with 89 additions and 92 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ class nwStyles:
"TT": (0.00, 0.60), # Text margins (top, bottom)
"SP": (1.20, 1.20), # Separator margins (top, bottom)
"MT": (0.00, 0.60), # Meta margins (top, bottom)
"FT": (1.20, 0.40), # Footnote margins (left, bottom)
"FT": (1.40, 0.40), # Footnote margins (left, bottom)
}
+1
View File
@@ -1166,6 +1166,7 @@ class DocXParagraph:
_wTag("before"): str(int(20.0 * firstFloat(self._topMargin, style.before))),
_wTag("after"): str(int(20.0 * firstFloat(self._bottomMargin, style.after))),
_wTag("line"): str(int(20.0 * firstFloat(style.line, style.size))),
_wTag("lineRule"): "auto",
})
if indent:
xmlSubElem(pPr, _wTag("ind"), attrib=indent)