diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-09-12 17:21:53 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-09-12 20:34:23 +0200 |
commit | c49fb2ffaf988b0f9a4480eba5960cc2de16797f (patch) | |
tree | c46dd297c92bbe1002ef17fd8c4459102786faff /writerperfect/qa/unit/data | |
parent | e6746a005419235d20074d696a1f8fadbda0a003 (diff) |
EPUB export: handle list content
Minimal effort to not loose content, no actual list formatting yet.
Change-Id: Ic49ed2f1877c608fc4af5d4aa7ebb3b49908fd86
Reviewed-on: https://gerrit.libreoffice.org/42214
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'writerperfect/qa/unit/data')
-rw-r--r-- | writerperfect/qa/unit/data/writer/epubexport/list.fodt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/writerperfect/qa/unit/data/writer/epubexport/list.fodt b/writerperfect/qa/unit/data/writer/epubexport/list.fodt new file mode 100644 index 000000000000..399ce78b2247 --- /dev/null +++ b/writerperfect/qa/unit/data/writer/epubexport/list.fodt @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text"> + <office:automatic-styles> + <style:style style:name="P1" style:family="paragraph" style:list-style-name="L1"/> + <text:list-style style:name="L1"> + <text:list-level-style-bullet text:level="1" text:bullet-char="•"> + <style:list-level-properties text:list-level-position-and-space-mode="label-alignment"> + <style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="1.27cm" fo:text-indent="-0.635cm" fo:margin-left="1.27cm"/> + </style:list-level-properties> + </text:list-level-style-bullet> + </text:list-style> + </office:automatic-styles> + <office:body> + <office:text> + <text:p>A</text:p> + <text:list xml:id="list1647378619" text:style-name="L1"> + <text:list-item> + <text:p text:style-name="P1">B</text:p> + </text:list-item> + </text:list> + <text:p>C</text:p> + </office:text> + </office:body> +</office:document> |