[Libreoffice-bugs] [Bug 116404] New: In Writer, when writing a new RTL document with locale defined as Hebrew and saving as docx the styles are saved as LTR

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 14 17:10:54 UTC 2018


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

            Bug ID: 116404
           Summary: In Writer, when writing a new RTL document with locale
                    defined as Hebrew and saving as docx the styles are
                    saved as LTR
           Product: LibreOffice
           Version: 6.0.2.1 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: eladhen2 at gmail.com

Description:
In Writer, when writing a new RTL document with locale defined as Hebrew the
document behaves as though it's in RTL, but checking the Default Style "Text
direction" is defined as "Use superordinate object settings".  If you save the
document as docx and reopen it you will find that the Default Style's "Text
direction" is defined as "Left-to-right (LTR)". Applying Styles in the document
now are LTR. 




Steps to Reproduce:
1. Define your locale as Hebrew in Tools > Options > Language Settings >
Languages
2. Restart Libreoffice Writer.
3. Write a document using styles (heading 1, Text Body etc.). Notice that the
text is RTL (as it should be in this Locale).
4. Go to Styles > Styles and formatting and right click Default Style,
selecting Modify... > Alignment. Notice that Properties > Text direction is set
by default to "Use superordinate object settings"
5. Save the file as a docx file.
6. Close LO writer and reopen the saved docx file.
7. Write a line and apply a style (heading 1, Text Body etc.).


Actual Results:  
The applied styles' Text direction is "Left-to-right (LTR)".

Expected Results:
*The same RTL styles from while writing the file would be applied.


Reproducible: Always


User Profile Reset: No



Additional Info:
Workaround
*You can manually go to Styles > Styles and formatting and right click Default
style, selecting Modify... > Alignment > Properties > Text direction and change
it to "Right-to-left (RTL)" before you save.

I'm using Version 6.0.2.1 on Linux Mint 18.3


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101
Firefox/58.0

-- 
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/20180314/7830ff2b/attachment.html>


More information about the Libreoffice-bugs mailing list