[Libreoffice-bugs] [Bug 115856] Docx export: In non-English versions, styles.xml does not contain reference to international styles

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Feb 23 08:45:58 UTC 2018


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

fralau at settlenext.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NOTOURBUG                   |---
     Ever confirmed|0                           |1

--- Comment #3 from fralau at settlenext.com ---
I used pandoc to illustrate the problem, but the problem lies in the xmlfiles
generated by LO. Any other tool might make the point.


The fact that Word actually reacts well to the way to the styles in docx files
generated by LO is a facility of Word (retranslating the foreign style names
into standard styles). They can do that, in my understanding, thanks to "latent
styles", i.e. an underlying model that is not in the docx/xml file.  Said
otherwise, MS Word has a "fault-tolerant" feature that is not part of the ISO
spec of docx files. Unfortunately, other apps that rely on the standard spec of
docx files (as they should) will fail.


I found this explanation useful:
http://python-docx.readthedocs.io/en/latest/user/styles-understanding.html


But the underlying issue is HOW one would define a compliant docx file? There
is a difference between impunity and legality: "Compliant to ISO/IEC 29500 " or
"loads satisfactorily into Ms Word" are NOT interchangeable definitions. In the
spirit of OO, the first is safer, as it is relatively stable definition, it has
general agreement, and if it changes, everyone will be notified in time. By
contrast doing something illegal but with impunity may elicit controversy:
indeed this feature of correcting stylesheets in Word is largely undocumented,
and they might change or alter it without notice.

-- 
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/20180223/0c1e264e/attachment.html>


More information about the Libreoffice-bugs mailing list