cf08ba1d39
* 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
16 lines
1.0 KiB
XML
16 lines
1.0 KiB
XML
<?xml version='1.0' encoding='utf-8'?>
|
|
<office:document-content 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:font-face-decls>
|
|
<style:font-face style:name="Liberation Serif" style:font-pitch="variable"/>
|
|
</office:font-face-decls>
|
|
<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_2" text:outline-level="2">Chapter Two</text:h>
|
|
<text:p text:style-name="Text_Body">Text</text:p>
|
|
</office:text>
|
|
</office:body>
|
|
</office:document-content>
|