Issue 19682 - Incorrect table number after import from Word
Summary: Incorrect table number after import from Word
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: PC Windows ME
: P4 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
Keywords: oooqa
Depends on:
Blocks: 19981
  Show dependency tree
Reported: 2003-09-17 11:40 UTC by johannesg
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

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

Example of problem (69.70 KB, application/octet-stream)
2003-09-17 11:40 UTC, johannesg
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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‑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