Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321297 - TOC is not generated by Word emitter
Summary: TOC is not generated by Word emitter
Status: CLOSED DUPLICATE of bug 208732
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 03:59 EDT by Adriana N CLA
Modified: 2010-07-30 04:41 EDT (History)
1 user (show)

See Also:


Attachments
Generated Word document (17.41 KB, application/msword)
2010-07-30 04:03 EDT, Adriana N CLA
no flags Details
Report (3.54 KB, text/plain)
2010-07-30 04:04 EDT, Adriana N CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adriana N CLA 2010-07-30 03:59:32 EDT
Build Identifier: v20100210-0630

Create a simple report and define TOC entries.
When generating as PDF, we can see them on the left as Signets
When generating as Word, they are lost. 
I try to insert or refresh TOC, but I get the following message:
"Aucune entrée de table des matières n'a été trouvée."
In other words, it does not find any TOC entry ...

Eclipse version details:
Eclipse Business Intelligence and Reporting Tools SDK
Version: 2.5.2.v20090925-7l9V7YFT0z0-DX3kf8ShK8
Build id: v20100210-0630

Note: I defined it as a Major problem because we need to reformat all titles in the generating document in order to generate the TOC. And this may be time consuming for large documents.


Reproducible: Always

Steps to Reproduce:
1. Create a simple report and define TOC entries.
2. Run -> View report -> as DOC  or view in web viewer and export as DOC)
3. Open Word document -> no TOC entry is found.
Comment 1 Adriana N CLA 2010-07-30 04:03:23 EDT
Created attachment 175545 [details]
Generated Word document
Comment 2 Adriana N CLA 2010-07-30 04:04:03 EDT
Created attachment 175546 [details]
Report
Comment 3 Adriana N CLA 2010-07-30 04:31:50 EDT
Also reproduced in the last version: 

Version: 2.6.0.v20100617-7m9f77FT0z0-H04OvPZz0D4
Build id: v20100609-1613
Comment 4 Xiaoying Gu CLA 2010-07-30 04:41:50 EDT
To see the table content entry
after opening the doc file: 

1: put the insert key where you want to insert the contents ,
2: use the insert and reference --> Table of contents.
3: press Alt+F9 ; then the String "{TOC \o "1-3" \h\z\u}" wll be out , just add
"\f" after the "\u" ,And then press Alt + F9.
4: press the key F9.Then the Contents will be shown .



Similar issue:https://bugs.eclipse.org/bugs/show_bug.cgi?id=317418

*** This bug has been marked as a duplicate of bug 208732 ***