Replace heading field with a general meta data field in the text block tuple

This commit is contained in:
Veronica Berglyd Olsen
2024-10-23 16:20:50 +02:00
parent f4a941cd93
commit 0ddc1131dc
15 changed files with 346 additions and 336 deletions
+2 -2
View File
@@ -240,9 +240,9 @@ class ToDocX(Tokenizer):
if tStyle & BlockFmt.PBA:
par.setPageBreakAfter(True)
if tStyle & BlockFmt.Z_BTMMRG:
if tStyle & BlockFmt.Z_BTM:
par.setMarginBottom(0.0)
if tStyle & BlockFmt.Z_TOPMRG:
if tStyle & BlockFmt.Z_TOP:
par.setMarginTop(0.0)
if tStyle & BlockFmt.IND_T: