ODT Export Fixes (#843)

* Fix issue with additional line breaks in ODT export
* Improve format handling in ToOdt, and remove some unused code
* Add test for tab in format
* Add class to write text formats to XML
* Simplify the XMLParagraph class a bit
* Correct a breach of ODT standard and add error checking
* Make some final corrections
This commit is contained in:
Veronica Berglyd Olsen
2021-08-14 12:42:44 +02:00
committed by GitHub
parent c41e0efc73
commit cf08ba1d39
13 changed files with 1539 additions and 125 deletions
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" office:version="1.2">
<office:meta>
<meta:creation-date>2021-08-13T18:54:46</meta:creation-date>
<meta:generator>novelWriter/1.5-alpha0</meta:generator>
</office:meta>
</office:document-meta>