Issue 21334

Summary: Content of Math Object only partly visible in BiDi text direction
Product: Math Reporter: ulf.stroehler
Component: codeAssignee: ulf.stroehler
Status: CLOSED DUPLICATE QA Contact: issues@gsl <issues>
Severity: Trivial    
Priority: P3 CC: issues, some--one, xslf
Version: OOo 1.1 RC5   
Target Milestone: ---   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
bugdoc containing math object none

Description ulf.stroehler 2003-10-16 18:10:24 UTC
This is a follow-up to issue 20688.

REPRODUCTION:

1. Enable CTL support (Tools/Options/Languages/Language Settings); select Hebrew
2. Change text direction to RTL in Writer (Format/Page/Page/Right-to-Left,
horizontal)
3. Change text allingnment to 'Right' (Ctrl+R)
4. Insert Math object (Insert/Object/Formula)
5. Type "1 over an" in formula editor
6. Set focus back in the Writer (leave formula editor)

=> Note the formula gets partly cropped (depending on where the object is
positioned and what zoom factor is used, the formula is more or less cropped)

It looks like the painted area of the object does not fit to the object's position.
Attaching a bugdoc that shows the misbehaviour.
Comment 1 ulf.stroehler 2003-10-16 18:29:37 UTC
Created attachment 10372 [details]
bugdoc containing math object
Comment 2 stephan_schaefer 2003-10-17 10:20:03 UTC
HDU->TL: Use a long formula like 12345 over x to see the effect better.
It looks like the OutputDevice's LayoutMode is wrongly set when you
begin to paint.
Comment 3 thomas.lange 2003-10-17 10:50:00 UTC
Already OK in current version ( > SRC680 m7 ) but fix needs to be
applied to PP2 also.
Comment 4 thomas.lange 2003-10-17 10:50:40 UTC
.
Comment 5 thomas.lange 2003-10-17 11:24:12 UTC
This one corresponds to two other tasks #i13249# and #i18125# which
are already fixed were target OOo 1.1.1

Thus I set this one to duplicate.
Comment 6 thomas.lange 2003-10-17 11:25:27 UTC
Duplicate to #i13249# and #i18125#.
Comment 7 thomas.lange 2003-10-17 11:26:58 UTC
.

*** This issue has been marked as a duplicate of 13249 ***
Comment 8 ulf.stroehler 2003-10-17 19:00:31 UTC
Closing dupe.