Make ODT export more LibreOffice friendly (#949)
* Make the ToODT class more LibreOffice friendly * Update tests
This commit is contained in:
committed by
GitHub
parent
79657a9d53
commit
59e10fbf0a
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user