You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/05/31 05:03:00 UTC

[Bug 119612] New: [From Symphony][BiDi]The order of Hebraic string are changed after imported the .doc

https://issues.apache.org/ooo/show_bug.cgi?id=119612

          Priority: P3
            Bug ID: 119612
          Assignee: ooo-issues@incubator.apache.org
           Summary: [From Symphony][BiDi]The order of Hebraic string are
                    changed after imported the .doc
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: louqingle@gmail.com
          Hardware: PC
            Status: CONFIRMED
           Version: AOO340
         Component: open-import
           Product: word processor

Created attachment 77831
  --> https://issues.apache.org/ooo/attachment.cgi?id=77831&action=edit
7733.doc

open the sample file and compare it with that in MS Word

the order of the English words and Hebraic words are incorrect

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

zjchen <zj...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zjchen@apache.org

--- Comment #3 from zjchen <zj...@apache.org> ---
In MS Word, if a paragraph has English and Arabian text, The order of text will
not be reversed and the RTL property(which property ID is 0x085A) would not be
set.

While loading the document in AOO, the RTL property is not handled and saved.
and the export process logic will export the paragraph has the property of
"RTL" simply for there is Arabian text in paragraph. See 
<WW8AttributeOutput::RTLAndCJKState> in main\sw\source\filter\ww8\ww8atr.cxx
Line 952-953 for more detail.

There is another character property sprmCIdctHint specifies a script bias for
the text in the run for Unicode characters that are shared between far east and
non-far east scripts. we also need to support this property in mixed English
and Arabian text situation.

The solution is that add these two properties in AOO to record RTL and IdctHint
property value, when loading MS Word document, handle the properties and save
the value into document model. when this document saving to MS Word document,
write out the property value according to the new properties in property set.

Noticed that this solution just support the properties in loading and saving.
So the text order will  display correctly in MS Word while wrong in word
processor.

I propose to create a new issue to track the text order in word processor is
not consistent with in Word. SW core function need further improvement to
support these properties.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

--- Comment #2 from louqle <lo...@gmail.com> ---
Created attachment 79233
  --> https://issues.apache.org/ooo/attachment.cgi?id=79233&action=edit
screenshot

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

Du Jing <bj...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |CLOSED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

Shenfeng Liu <li...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |liushenf@gmail.com
   Target Milestone|---                         |AOO 3.5.0

--- Comment #10 from Shenfeng Liu <li...@gmail.com> ---
Update Target Milestone to AOO 3.5.0.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

zjchen <zj...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79344|                            |review?
              Flags|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

louqle <lo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[From Symphony][BiDi]The    |[From Symphony][BiDi]The
                   |order of Hebraic string are |order of Hebraic string are
                   |changed after imported the  |changed after save as new
                   |.doc                        |.doc

--- Comment #1 from louqle <lo...@gmail.com> ---
Above steps are incorrect.

1. open the sample file in Aoo
2. Save as another .doc file
3. reopen the new .doc file in MS word, compare it with the original one.

defect: order of some Hebraic string are changed

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

zjchen <zj...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79343|review?                     |
              Flags|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

--- Comment #7 from SVN Robot <sv...@dev.null.org> ---
"leidb" committed SVN revision 1383777 into trunk:
#119612# fix the order of Hebraic string are changed after save as new .doc
*...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

zjchen <zj...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79343|                            |review?
              Flags|                            |

--- Comment #4 from zjchen <zj...@apache.org> ---
Created attachment 79343
  --> https://issues.apache.org/ooo/attachment.cgi?id=79343&action=edit
patch for i119612

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

Lei Debin <de...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |debin.lei@gmail.com

--- Comment #6 from Lei Debin <de...@gmail.com> ---
Now, in AOO core function, we can not process the RTL property correctly.
So the solution is preserve the property and export correctly with doc. It is
reasonable, reviewed pass for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

Du Jing <bj...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED
                 CC|                            |bjdujing@gmail.com

--- Comment #9 from Du Jing <bj...@gmail.com> ---
verified on the build AOO3.5_r1397404

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

Lei Debin <de...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Lei Debin <de...@gmail.com> ---
fixed

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

zjchen <zj...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79343|0                           |1
        is obsolete|                            |

--- Comment #5 from zjchen <zj...@apache.org> ---
Created attachment 79344
  --> https://issues.apache.org/ooo/attachment.cgi?id=79344&action=edit
patch for i119612

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119612] [From Symphony][BiDi]The order of Hebraic string are changed after save as new .doc

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119612

louqle <lo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|open-import                 |save-export

-- 
You are receiving this mail because:
You are the assignee for the bug.