Issue 19683

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

Description johannesg 2003-09-17 11:41:34 UTC
When importing a Word 2000 document, the table of contents is incorrectly
displayed. See attached file for an example.
Comment 1 johannesg 2003-09-17 11:41:59 UTC
Created attachment 9403 [details]
Example of problem
Comment 2 utomo99 2003-09-19 10:48:33 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

I Open the example.doc in word and in OOo writer and compare page iii
the different are:
1. There is no space between chapter number and chapter title
2. There is additional chapter 3  2 which is not exist in original
Comment 3 h.ilter 2003-09-23 16:24:20 UTC
Reassigned to MRU
Comment 4 michael.ruess 2003-09-25 10:30:28 UTC
MRU->CMC: I don't really know, if the import can do anything here. The
Styles used in the TOC do not have the Tabs, which are present when
opening the file in OO. 
If its a layout problem, please re-assign to ama with a comment.
Comment 5 caolanm 2003-09-25 11:03:59 UTC
Well the second issue is the same as issue 19686. So this is for the
first issue only. And this is a known problem where we don't have tabs
in toc's the same way as word does it. 

cmc->hbrinkm: You will be working on allowing tabs like words in tocs.
This is the same as legacy bugtracker id #111387#.
Comment 6 caolanm 2003-09-25 11:04:42 UTC
The tab between chapter no and chapter title in the toc is a 2.0 task,
so retargeting.
Comment 7 michael.ruess 2003-09-26 11:08:57 UTC
*** Issue 19876 has been marked as a duplicate of this issue. ***
Comment 8 openoffice 2003-10-06 09:15:19 UTC
Comment 9 openoffice 2003-10-06 09:20:05 UTC
Comment 10 openoffice 2004-02-04 09:58:12 UTC
Comment 11 openoffice 2004-02-05 08:21:25 UTC
estimated effort
Comment 12 andreas.martens 2004-12-03 13:36:42 UTC
AMA->FME: Please have a look.
Comment 13 andreas.martens 2004-12-03 13:38:21 UTC
Comment 14 frank.meies 2004-12-16 06:40:56 UTC
FME: Unfortunately we will not be able to handle the tab stops between numbering
and chapter name in tables of contents correctly in the near future. Therefore I
added a small hack that inserts a blank between the numbering and the chapter
name. I'll set up a new issue "WW8 filter does not import tabs between numbering
and chapter name in tables of contents".
Comment 15 frank.meies 2004-12-16 06:55:06 UTC
Follow up task is issue 39120. 

'Fixed' in sw/source/filter/ww8/ww8par5.cxx rev.
Comment 16 Oliver-Rainer Wittmann 2004-12-20 09:50:05 UTC
reopen to assign to QA
Comment 17 Oliver-Rainer Wittmann 2004-12-20 09:51:06 UTC
Checked in internal installation set of cws swqbugfixes11 - please verify.
Comment 18 Oliver-Rainer Wittmann 2004-12-20 09:51:23 UTC
set status back to FIXED
Comment 19 michael.ruess 2004-12-22 13:20:04 UTC
Verified in CWS swqbugfixes11.
Comment 20 michael.ruess 2005-01-21 14:38:27 UTC
Checked integration in 680m71.