Issue 105347 - Right to Left bullets paragraph direction incorrect
Summary: Right to Left bullets paragraph direction incorrect
Alias: None
Product: Impress
Classification: Application
Component: editing (show other issues)
Version: OOo 3.1.1
Hardware: PC (x86_64) Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: Arabic, Hebrew
Depends on:
Reported: 2009-09-25 08:16 UTC by shacharsh
Modified: 2013-02-07 22:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description shacharsh 2009-09-25 08:16:40 UTC
The Unicode (TR#9) standard dictates that the paragraph direction be determined
by the first strongly directional character on the paragraph, unless an external
mechanism exists for determining the paragraph direction. Since OpenOffice has
the "RTL paragraph" and "LTR paragraph" buttons, the correct behavior is for
these buttons to be the sole source for the decision of what the paragraph
direction is.

In impress, if you work in bullet mode, the buttons do dictate whether the
bullet is displayed on the right or on the left of the presentation, but the
actual paragraph direction is determined by the first directional character,
with strange rendering while at it.

To reproduce - open a new presentation, open a new bullet, and hit the RTL
paragraph button. Next type an English word, followed by a dash and a Hebrew or
Arabic word.

Expected behavior:
                                       WERBEH - english *
Actual behavior:
                                       -WERBEH  english *
Expected behavior if paragraph is English:
* english - WERBEH

Adding an RLM as the first character of the line makes the display as expected.

Comment 1 katyhoffman 2010-02-07 04:21:02 UTC
I was unable to reproduce this bug using DEV300m70 on a 32bit, 2.4 GHz machine
with 3GB RAM running Vista SP2. 

I performed the following steps:

1. Open a new presentation

2. Select text

3. Select bullet button 

4. Select "paragraph direction" button, right to left. This is button that looks
like a large P with an arrow. Note that this is only available if enhanced
language support is enabled. This is done by selecting 	-> tools  -> options ->
language settings -> languages -> enabled for complex text layout

5. Type the word "english - "
	result is:    - English* 
	the cursor is to the left of the hyphen

6. repeatedly select Insert -> Special characters -> any Arabic or Hebrew letter
	these will appear in right to left order, to the left of the dash

The hyphen is between the words regardless of spacing around the hyphen -
whether or not you put a space before or after the hyphen, the dash is always
between the English and Hebrew (or Arabic) letters.

Comment 2 maand 2010-05-01 18:46:01 UTC
I can confirm this issue with OOo 3.2.0 on openSuSE 11.1-x64 with keyboard
layout Hebrew and German.