https://bugs.documentfoundation.org/show_bug.cgi?id=126716

Buovjaga <ilmari.lauhakan...@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.lauhakan...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to