Issue 15718 - Text boxes incorrectly mirror their position in rtl documents
Summary: Text boxes incorrectly mirror their position in rtl documents
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: BiDi (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@l10n
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2003-06-17 11:34 UTC by sforbes
Modified: 2013-08-07 15:00 UTC (History)
1 user (show)

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


Attachments
A zip file containing the original word files, and screen shot of the correct display (476.37 KB, application/octet-stream)
2003-06-17 11:37 UTC, sforbes
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sforbes 2003-06-17 11:34:14 UTC
Text boxes are a common way to orginise text and images in a document.
When importing a rtl document from word XP. text boxes always flip position- the
one on the right moves left, and vice verca.

A few common examples:
* Doc1.doc - contains only two text boxes. One marked "left" and the other
"right". Notice how they flip their positions when opened in OO.

* text_pic.doc - Few RTL Hebrew text paragraphs, that wrap around an image in a
text box. Notice how in OO the image is the RIGHT of the text instead of in the
left.

* calender.doc - this is a simple calender created with Hebrew word XP calender
wizaerd. The design is heavy on text boxes, which hold all the elements in
place. Notice that when opened in OO, the image is to the RIGHT of the calander
instead of to the LEFT, and the month and year text boxes flipped locations.
Comment 1 sforbes 2003-06-17 11:37:21 UTC
Created attachment 6937 [details]
A zip file containing the original word files, and screen shot of the correct display
Comment 2 sforbes 2003-06-17 11:38:46 UTC
Forgot to note- systems used here:
Office XP pro with Hebrew multilingual UI installed, running on
windowx XP.
OopenOffice 1.1 beta 2. running on redhat linux 9, in Gnome 2.2
Comment 3 maxkennedy 2003-06-19 03:57:25 UTC
I opened this files up using Word and OpenOffice on XP.  
OpenOffice did flip the text boxes/pictures from one side of
the screen to anouther.

On my system, one of the pictures was rendered badly with white 
jagged lines when opened with OpenOffice.org - original poster didn't 
mention having that problem.

Comment 4 Dieter.Loeschky 2003-06-26 11:59:00 UTC
DL->CMC: Could you please takeover?
Comment 5 maxkennedy 2003-07-01 07:56:13 UTC
I opened up the files under Word and Writer, and saw the boxes flip 
position. (reminder)
Comment 6 caolanm 2003-07-01 09:37:19 UTC
This is improved in 1.1, but the basic problem is that in right to
left more in writer everything gets measured from the right side. In
word everything is always measured from the left side.
Comment 7 caolanm 2003-08-21 14:04:54 UTC
cmc->mru: #74188# must continue working.
Comment 8 caolanm 2003-08-21 14:23:17 UTC
Ok, can add these cases to the direction swapping on import for 2.0

cmc->mru: Working in killarneyfilterteam13
Comment 9 caolanm 2003-09-16 13:01:24 UTC
Reopen to reassign
Comment 10 caolanm 2003-09-16 13:03:52 UTC
cmc->mru: Note that in one of the examples there is a picture inside a
drawing object which is missing on import. Because the editengine
cannot do it, normally we replace such an object with a simple
graphic, but theres a paragraph inside the drawing object so we can't :-(

If we can group frames with drawing objects (as planned for Q) we
might be able to use our own frames instead of the editengine for such
objects.

Otherwise looks good in killarneyfilterteam13
Comment 11 michael.ruess 2003-09-19 13:46:18 UTC
Checked fix in CWS filter13. 
Comment 12 michael.ruess 2003-09-19 13:47:40 UTC
Verified. Fix will be included in OO 2.0.
Comment 13 sforbes 2004-02-09 11:52:57 UTC
tested with 680m20 on windows 2003- the boxes are not flipped, however the
picture is missing, and the file opens much larger then in word.

Should I file a separate report for those issues?
Comment 14 michael.ruess 2004-02-12 15:21:01 UTC
Closed.

For remaining problem (missing graphic) I filed issue 25422.