[Libreoffice-bugs] [Bug 72017] FILEOPEN: DOCX: RTL paragraphs with left alignment open with right alignment and vice versa

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Oct 15 21:39:39 UTC 2017


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

Yousuf Philips (jay) <philipz85 at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jluth at mail.com,
                   |                            |mikekaganski at hotmail.com,
                   |                            |philipz85 at hotmail.com
            Version|unspecified                 |Inherited From OOo
            Summary|FILEOPEN: DOCX: Alignment   |FILEOPEN: DOCX: RTL
                   |of Arabic text form left to |paragraphs with left
                   |right (should be right to   |alignment open with right
                   |left)                       |alignment and vice versa

--- Comment #6 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
Would have been useful to know where attachment 89808 originated, as it wasnt
created by MS Word as 2007 and 2010 both state that it required repairing and
when saving it from 2007 or 2010, LO could open those files correctly.

So the document has XML like this for the line which is supposed to be right
aligned

 <w:p>
   <w:pPr>
     <w:pStyle w:val="Normal" />
     <w:jc w:val="right" />
     <w:rPr>
       <w:rtl w:val="true" />
       <w:lang w:bidi="ar-AE" />
     </w:rPr>
   </w:pPr>
   <w:r>
     <w:rPr>
       <w:rtl w:val="true" />
       <w:lang w:bidi="ar-AE" />
     </w:rPr>
   </w:r>
 </w:p>

And Word 2007 has XML like this

 <w:p ...>
   <w:pPr>
     <w:jc w:val="right" />
     <w:rPr>
       <w:rtl />
       <w:lang w:bidi="ar-AE" />
     </w:rPr>
   </w:pPr>
 </w:p>

Justin, Mike: Any thoughts?

-- 
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/20171015/fe8be5fc/attachment-0001.html>


More information about the Libreoffice-bugs mailing list