[Libreoffice-bugs] [Bug 126716] Export/Save as HTML produce different result from DOCX numbered list
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun May 10 19:29:51 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=126716
Buovjaga <ilmari.lauhakangas at libreoffice.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Severity|normal |minor
Summary|Difference between Linux |Export/Save as HTML produce
|and Mac DOCX to HTML |different result from DOCX
|Conversion |numbered list
Keywords| |filter:docx, filter:html
Blocks| |108799
--- Comment #10 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
Ok, so here's the deal:
If you unzip the docx file and look at word/document.xml, the paragraphs are
defined as a numbered list, using numPr as documented here:
https://c-rex.net/projects/samples/ooxml/e1/Part4/OOXML_P4_DOCX_numPr_topic_ID0EBBCM.html
As the document does not show the numbering in LibreOffice, the result from
"Export as xhtml" is more correct: it *does* create an ordered list <ol>, but
it has the rule list-style: none; for <li> elements.
Also, the numbering in the xhtml export starts from 1. while the numbering in
the document produced by "Save as html" start from 0. for some reason.
I know it is silly that we have two ways to save html...
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=108799
[Bug 108799] [META] HTML export bugs and enhancements
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200510/01ab9b24/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list