Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 159499

Summary: Table of Contents Formatting
Product: z_Archived Reporter: Krishna Venkatraman <kvenkatraman>
Component: BIRTAssignee: Liang Yu <yliang>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: rkanguri, whe, yli
Version: 2.2.0Keywords: plan
Target Milestone: 2.2.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 171078    
Attachments:
Description Flags
adding TOC style field to property editor
none
Adding TOC style field to Group dialog
none
Adding TOC style field to Group dialog
none
TOC style field in property editor none

Description Krishna Venkatraman CLA 2006-10-02 15:55:41 EDT
The table of contents in a BIRT report currently do not support the use of styles. They also do not provide any flexibility in their layout. This project aims to allow the use of styles as well as more flexibility in the layout of the table of contents in a BIRT report.
Comment 1 xingjie he CLA 2006-10-25 05:13:00 EDT
Krishna, 
Could you give me more detail of 'flexibility in their layout'. I don't know it clearly. You means can be drag in design time and in preview can display anywhere? Thanks!
Comment 2 xingjie he CLA 2006-12-06 21:34:42 EST
Finish it. Change TOC expression to TOC structure. And add style and style properties.
Comment 3 Jason Weathersby CLA 2007-01-18 16:52:49 EST
Where is this set at in the designer?
Comment 4 Rima Kanguri CLA 2007-01-18 17:38:15 EST
The UI changes are no done yet.
Comment 5 Rima Kanguri CLA 2007-01-18 18:39:15 EST
Reopening the bug, as the UI and engine changes are not done.
Comment 6 Wang Qiangsheng CLA 2007-02-02 07:32:29 EST
GUI has another seperate bug 169824 for this feature. That bus is fixed already.
Comment 7 Aashima Goel CLA 2007-02-02 13:32:07 EST
Created attachment 58130 [details]
adding TOC style field to property editor
Comment 8 Aashima Goel CLA 2007-02-02 13:33:03 EST
Created attachment 58131 [details]
Adding TOC style field to Group dialog
Comment 9 Aashima Goel CLA 2007-02-02 13:33:51 EST
Created attachment 58132 [details]
Adding TOC style field to Group dialog
Comment 10 Aashima Goel CLA 2007-02-02 13:36:11 EST
Created attachment 58133 [details]
TOC style field in property editor
Comment 11 Rima Kanguri CLA 2007-02-06 13:32:42 EST
Looks like the UI ( bug 169824)  and model changes are done.
Engine changes are needed.

Moving this bug to BIRT 2.2 M6 and reassigning to engine team to add support.
Comment 12 Wei Yan CLA 2007-03-11 23:32:30 EDT
*** Bug 171078 has been marked as a duplicate of this bug. ***
Comment 13 Wei Zhao ( Shang ) CLA 2007-03-28 03:11:39 EDT
Engine has fix it.

Re-assign to viewer. 
The API to get style is getTOCStyle( ) in TOCNode.
Comment 14 Jerry Cheng CLA 2007-03-29 01:32:50 EDT
Viewer has done. But viewer can't get correct style from engine. Reassign to model team for further research.
Comment 15 xingjie he CLA 2007-03-29 02:43:42 EDT
Please use method in TOCHandle. not from PrivateStyleHandle, there is default value from rom in PrivateStyleHandle
Comment 16 Liang Yu CLA 2007-03-30 05:36:40 EDT
Fixed.
Comment 17 Liang Yu CLA 2007-03-30 05:54:44 EDT
Fixed.