Issue 47801 - WW8: Thai justification from Word 2003 not imported correctly
Summary: WW8: Thai justification from Word 2003 not imported correctly
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: 680m93
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-04-20 09:48 UTC by jjc
Modified: 2017-05-20 11:19 UTC (History)
5 users (show)

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


Attachments
.doc with Thai justified text exported from Word 2003 (20.00 KB, application/msword)
2005-04-20 09:50 UTC, jjc
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jjc 2005-04-20 09:48:29 UTC
A paragraph with "thai distribute" alignment exported as a .doc from Word 2003
will be treated as left-aligned when imported into OOo.

The Thai version of Word 2003 provides paragraph alignment choices of left,
center, right, justified and thai distribute (I'm not sure exactly what it calls
these in the English UI; I only have the Thai UI): "justified" justifies the
line by stretching spaces; "thai distribute" justifies the line by adding space
between Thai clusters.  OOo does not provide a separate "thai distribute" type
of alignment but instead automatically does the "thai distribute" alignment for
justified Thai text.  Thus a Word paragraph that has alignment of "thai
distribute" should turn into a OOo paragraph with alignment of "justified".
Comment 1 jjc 2005-04-20 09:50:52 UTC
Created attachment 25247 [details]
.doc with Thai justified text exported from Word 2003
Comment 2 jjc 2005-04-20 09:59:22 UTC
The Office 2003 XML docs list 10 different types of paragraph alignment.  I
experimented with how Word 2003 represents these in .doc files.  On export, Word
always generates a pair of SPRMs: 2403 (sprmPJc) and 2461 (undocumented).  The
parameters it generates are as follows:

XML		2403	2461
----------------------------
left		0	0
center		1	1
right		2	2
both		3	3
distribute	4	4
medium-kashida  4	5
list-tab	6	6
high-kashida	5	7
low-kashida	3	8
thai-distribute	4	9

On import, it appears to ignore the 2403 parameter and pay attention only to the
2461 parameter.
Comment 3 andreas.martens 2005-05-26 08:21:43 UTC
Considering the effort, the priority, the risk and our resource planning I've to
retarget this issue to OOo Later.
Comment 4 jjc 2005-10-02 09:00:35 UTC
There is a related problem with Word97. See issue 55339.  Word97 just
understands the 2403 SPRM.  Word 2003 can import this correctly: apparently it
pays attention to the 2403 SPRM if there is no 2461 SPRM.
Comment 5 Mathias_Bauer 2006-08-30 14:56:23 UTC
assigned to hbrinkm
Comment 6 Marcus 2017-05-20 11:19:35 UTC
Reset assigne to the default "issues@openoffice.apache.org".