https://bugs.freedesktop.org/show_bug.cgi?id=43398

--- Comment #7 from Roman Eisele <[email protected]> 2011-12-03 00:40:46 PST ---
Looking at the contents of the DOCX file, in /word/document.xml the first
paragraph starts with

<w:p><w:pPr><w:bidi w:val="0" /> ...

I may be totally wrong, but this <w:bidi ... /> tag could be the source of
LibreOffice’s confusion. There is no similar <w:bidi ... /> tag in many other
DOCX files I have seen (there are only bidi="" attributes in <w:lang ... />
tags). This does not mean that the <w:bidi ... /> tag is wrong (someone else
should tell us about that), it is just not common for western-language DOCX
files.

Maybe LibreOffice concludes from the mere presence of the <w:bidi ... /> tag
that the paragraph contains text in a right-to-left language (like Hebrew),
instead of looking at the w:val="0" attribute which (having the value of "0")
clearly says that this paragraph does NOT contain bi-directional text?!

There have been issues with the <w:bidi ... /> tag in OpenOffice before, see
e.g.

https://issues.apache.org/ooo/show_bug.cgi?id=111714

Maybe the fix in CWS writerfilter08 (2010-05-20) was a bit to general, i.e. did
not take the w:val="0" attribute into account?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to