<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - in DOCX files, some styles's "text direction" appears Right-to-Left or Left-to-Right depending on User Interface Language"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126544">126544</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>in DOCX files, some styles's "text direction" appears Right-to-Left or Left-to-Right depending on User Interface Language
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.2.2.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eladhen2@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Some styles of text in DOCX files have their text direction set to
Right-To-Left when User Interface language is set to Hebrew and to
Left-To-Right when user interface language is set to English.

Steps to Reproduce:
1. install libreoffice-l10n-he to make Hebrew User Interface Possible
2. set User Interface language to Hebrew in Tools>Options>Language>User
Interface
3. open attached bugexample.docx file. Observe that the text direction of the
heading styles is set to Right-To-Left and that the heading texts are aligned
to the right.
4. Set user interface to English in Tools>Options>Language>User Interface
5. open attached bugexample.docx file. Observe that the text direction of the
heading styles is set to Left-To-Right and that the text is aligned to the
left.

Actual Results:
When opened in a Hebrew (and possibly other RTL languages) interface the
Heading texts in this DOCX (and in many others, but not all) are aligned to the
right and have their Text Direction set as Right-To-Left.
When opened in an English interface the Heading texts in this DOCX (and in many
others, but not all) are aligned to the left and have their Text Direction set
as Left-To-Right.

Expected Results:
Text Direction and alignment should be independent of User Interface and
dependent only on the file itself. This is still the case in Libreoffice 5.1


Reproducible: Sometimes


User Profile Reset: Yes



Additional Info:
System:    Host: UX305FA Kernel: 4.4.0-157-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia

Version: 6.2.5.2
Build ID: 1:6.2.5-0ubuntu0.16.04.1~lo1
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2;</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>