Bug 73933 - TABLE: Numbers are shown from left to right in "Number range" variable when used in RTL scripts.
Summary: TABLE: Numbers are shown from left to right in "Number range" variable when u...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: 4.1.4.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: rtl-meta
  Show dependency treegraph
 
Reported: 2014-01-22 14:47 UTC by safa alfulaij
Modified: 2015-01-23 21:58 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
An .odt file contains valid captions and non valid ones. (11.30 KB, application/vnd.oasis.opendocument.text)
2014-01-22 14:47 UTC, safa alfulaij
Details
Screenshot in LibO 4.2.4 (69.92 KB, image/png)
2014-05-30 06:06 UTC, Lior Kaplan
Details
Screenshot in LibO 4.2.4 with non numbers (68.97 KB, image/png)
2014-05-30 09:05 UTC, Lior Kaplan
Details

Description safa alfulaij 2014-01-22 14:47:14 UTC
Created attachment 92593 [details]
An .odt file contains valid captions and non valid ones.

Numbers are shown from left to right in "Number range" variable when used in RTL scripts.

This happens when Number range variable is used in table captions (for example) in Arabic script. For example: The table caption should be something like this:
الجدول 3-1: وظيفة الجدول
where "3" is the chapter number; And "1" is the table number; But, because of this bug, The caption will be something like this:
الجدول 1-3: وظيفة الجدول
I have included a simple .odt file contain a valid caption written manually (first), and a caption contain Number range variable.
Operating System: Linux (Other)
Version: 4.1.4.2 release
Comment 1 libreoffice user 2014-02-02 12:01:15 UTC
Same problem here.

Operating System: Linux (Other)
Version: 4.2.0.4
Comment 3 Lior Kaplan 2014-05-30 06:06:10 UTC
Created attachment 100142 [details]
Screenshot in LibO 4.2.4

Looks fine to me in 4.2.4 on Debian Linux, see screenshot.
Comment 4 safa alfulaij 2014-05-30 06:42:11 UTC
The chapter number in the left and the number of table in the right. It should be the opposite.
Comment 5 Lior Kaplan 2014-05-30 09:05:00 UTC
Created attachment 100152 [details]
Screenshot in LibO 4.2.4 with non numbers

I don't agree with you about this, when both characters are numbers, they should be from left to right. This is also the way numbers are written in both Hebrew and Arabic.

When one of the characters isn't a number (e.g. a letter), then, and only then it appears to be affected by the paragraph directionality. This is what happens in LibO 4.2 and regardless if the letter is in RTL or LTR language, only the paragraph directionality applies.
Comment 6 safa alfulaij 2015-01-23 21:58:37 UTC
A workaround can be by an option to make LibreOffice reverse the rendering of the numbers. I mean instead of adding 1 then 2, It adds 2 then 1. It's must be an option in everything use placeholders, The numbering lists also.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.