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
@@ -410,8 +410,8 @@ def testFmtToQTextDocument_TextBlockFormats(mockGUI):
doc.document.clear()
doc._blocks = [
(BlockTyp.TEXT, 1, "This is justified", [], BlockFmt.JUSTIFY),
(BlockTyp.TEXT, 1, "This has a page break", [], BlockFmt.PBA),
(BlockTyp.TEXT, "", "This is justified", [], BlockFmt.JUSTIFY),
(BlockTyp.TEXT, "", "This has a page break", [], BlockFmt.PBA),
]
doc.doConvert()
assert doc.document.blockCount() == 2