Issue 55339 - WW8: Thai distribute justification from Word 97 not imported correctly
Summary: WW8: Thai distribute justification from Word 97 not imported correctly
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOO 2.0 Beta2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: ms_interoperability
Depends on:
Blocks: 41707 92549
  Show dependency tree
 
Reported: 2005-10-02 08:40 UTC by jjc
Modified: 2017-05-20 11:25 UTC (History)
5 users (show)

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


Attachments
Word97 file containing paragraph with Thai distribute justification (19.00 KB, application/msword)
2005-10-02 08:42 UTC, jjc
no flags Details
Proposed patch (untested) (770 bytes, patch)
2005-10-02 08:55 UTC, jjc
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description jjc 2005-10-02 08:40:25 UTC
When a paragraph in a file created by Thai Word 97 has "Thai distribute"
justification, OOo will treat it as justified paragraph with the last line also
justified.  This is not the correct semantics for "Thai distribute"
justification: "Thai distribute" justification means justifying by putting extra
space between cells rather than expanding the size of existing white spaces. OOo
automatically does "Thai distribute" justification when justifying Thai.  So the
correct behavior is to map "Thai distribute" justification onto normal
justification.
Comment 1 jjc 2005-10-02 08:42:24 UTC
Created attachment 30060 [details]
Word97 file containing paragraph with Thai distribute justification
Comment 2 jjc 2005-10-02 08:54:36 UTC
This is related to issue 47801, but it's not the same since Word97 uses the 2403
SPRM and Word 2003 uses the 2461 SPRM.

This looks like a misunderstanding of the semantics of the 2403 SPRM.  The
problem was introduced in version 1.128.2.1.58.5 of ww8par6.cxx.
Comment 3 jjc 2005-10-02 08:55:53 UTC
Created attachment 30061 [details]
Proposed patch (untested)
Comment 4 michael.ruess 2005-10-04 14:52:02 UTC
MRU->FT: please have a look at this CTL issue. Thanks a lot!
Comment 5 falko.tesch 2005-10-20 16:56:12 UTC
.
Comment 6 falko.tesch 2005-10-20 20:13:59 UTC
FT: This issue first needs implementation on Thai justification in OO.o. 
FT->OS: Since I leave please take care of this issue, thx.
Comment 7 jjc 2006-01-24 03:50:25 UTC
OOo already implements Thai justification, so this can be fixed without
implementing anything else first.

Just to be clear:

- In Word, normal justification for Thai text does Western style justification
(stretching existing spaces); there's an additional kind of justification "Thai
distribute" that does Thai style justification (adding spaces between clusters).

- In OOo, normal justification for Thai text automatically does Thai style
justification; there's no way to do Western style justification for Thai text

So on import from Word, "Thai distribute" justification needs to map onto normal
justification, and on export to Word, normal justification applied to Thai text
needs to map onto "Thai distribute" justification.
Comment 8 Marcus 2017-05-20 11:24:26 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 9 Marcus 2017-05-20 11:25:42 UTC
Reset assigne to the default "issues@openoffice.apache.org".