Apache OpenOffice (AOO) Bugzilla – Issue 55339
WW8: Thai distribute justification from Word 97 not imported correctly
Last modified: 2017-05-20 11:25:42 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.
Created attachment 30060 [details] Word97 file containing paragraph with Thai distribute justification
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.
Created attachment 30061 [details] Proposed patch (untested)
MRU->FT: please have a look at this CTL issue. Thanks a lot!
.
FT: This issue first needs implementation on Thai justification in OO.o. FT->OS: Since I leave please take care of this issue, thx.
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.
Reset assigne to the default "issues@openoffice.apache.org".