Add DocX text styles

This commit is contained in:
Veronica Berglyd Olsen
2024-10-18 18:35:56 +02:00
parent d60b29e0a2
commit 9bbebd2085
3 changed files with 188 additions and 15 deletions
+1 -2
View File
@@ -258,8 +258,7 @@ class ToOdt(Tokenizer):
return
def setPageLayout(
self, width: int | float, height: int | float,
top: int | float, bottom: int | float, left: int | float, right: int | float
self, width: float, height: float, top: float, bottom: float, left: float, right: float
) -> None:
"""Set the document page size and margins in millimetres."""
self._mDocWidth = f"{width/10.0:.3f}cm"