Issue 19682

Summary: Incorrect table number after import from Word
Product: Writer Reporter: johannesg <hg>
Component: codeAssignee: michael.ruess
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P4 CC: issues
Version: OOo 1.1 RCKeywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: Windows ME   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 19981    
Attachments:
Description Flags
Example of problem none

Description johannesg 2003-09-17 11:40:28 UTC
When importing a Word 2000 document, table numbers are incorrectly displayed.
The section number is displayed twice. See attached file for an example.
Comment 1 johannesg 2003-09-17 11:40:55 UTC
Created attachment 9402 [details]
Example of problem
Comment 2 mci 2003-09-18 10:50:42 UTC
reassigned to mru
Comment 3 utomo99 2003-09-19 10:43:11 UTC
I can Reproduce the problem on 
OpenOffice 1.1 RC4(default Install, US), Win XP Pro Sp1. 
(And MS Office XP Sp2). 
It is real problem

Open the example.doc in Word and OOo writer and compare page 5
Table 1.2 1 displayed in OOo as  Table 1.2&#8209;1.2.1

utomo>johannesg: next time please give better pointing, in which page,
or which part is not correct, so we can find it easier. 
Comment 4 michael.ruess 2003-09-23 08:16:13 UTC
MRU->AMA: Word has this divided into two fields; a Ref to the the
Chapter and the table sequence number. Writer displays this as one
field, but is only able to enable/disable the chapter number globally.
Thus the hapter is also displayed as plain text. 
Improvement is needed for Interoperability...
Comment 5 andreas.martens 2003-09-23 15:41:35 UTC
How much effort by whom? Then we'll decide if it's doable for OOo2.0
Comment 6 andreas.martens 2003-09-23 15:43:42 UTC
?
Comment 7 Oliver Specht 2003-09-24 07:56:23 UTC
os->cmc: IMO there should be one field for the chapter number
Document/Chapter - Chapter number, Layer = 2 and a number sequence
field Variables/Number range/Table and Level=none. 
Comment 8 caolanm 2003-09-24 12:42:00 UTC
a) Importing the number sequence field as Variables/Number range/Table
and Level=none is possible
b) But the other field in word references the style with a styleref
field. Here the field being referenced is "style number 2", i.e.
heading 2. If the style was style 14 it would refer to a different
style entirely, while our "chapter" thing is what is in outline
numbering which just happens to match the desired style here. Will
write a seperate issue to consider that.
Comment 9 caolanm 2003-09-24 12:50:18 UTC
I'll import the seq field as os's suggestion, and leave a decision on
the other StyleRef field import to issue 19981 as there is more to it
than appears in this example.

Seq does in kilkennyfilterteam14 for 2.0 (i.e. document looks correct)
Comment 10 caolanm 2003-10-17 16:38:04 UTC
reopen to reassign
Comment 11 caolanm 2003-10-17 16:38:40 UTC
cmc->mru: implemented as described in kilkennyfilterteam14
Comment 12 michael.ruess 2003-10-30 16:03:06 UTC
Checked fix in CWS Kilkennyfilterteam14.
Comment 13 michael.ruess 2003-10-30 16:09:24 UTC
Fix will be included in OO 2.0. 
At the moment, this is not the full fix; remaining task is issue
19981, as Caolán pointed out.
Comment 14 mci 2004-01-08 09:33:34 UTC
checked with src680m19 ==> ok