Make ODT export more LibreOffice friendly (#949)

* Make the ToODT class more LibreOffice friendly
* Update tests
This commit is contained in:
Veronica Berglyd Olsen
2022-01-02 20:49:12 +01:00
committed by GitHub
parent 79657a9d53
commit 59e10fbf0a
8 changed files with 317 additions and 317 deletions
@@ -4,16 +4,16 @@
<style:font-face style:name="Liberation Serif" style:font-pitch="variable"/>
</office:font-face-decls>
<office:automatic-styles>
<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Heading_2">
<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Heading_20_2">
<style:paragraph-properties fo:break-before="page"/>
</style:style>
</office:automatic-styles>
<office:body>
<office:text>
<text:h text:style-name="Heading_2" text:outline-level="2">Chapter One</text:h>
<text:p text:style-name="Text_Body">Text</text:p>
<text:h text:style-name="Heading_20_2" text:outline-level="2">Chapter One</text:h>
<text:p text:style-name="Text_20_body">Text</text:p>
<text:h text:style-name="P1" text:outline-level="2">Chapter Two</text:h>
<text:p text:style-name="Text_Body">Text</text:p>
<text:p text:style-name="Text_20_body">Text</text:p>
</office:text>
</office:body>
</office:document-content>