Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332863 - Problem in WordEmitter: The first inline element in a grid cell will take the style of the grid
Summary: Problem in WordEmitter: The first inline element in a grid cell will take the...
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows XP
: P3 major with 3 votes (vote)
Target Milestone: 2.6.2   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact: Xiaodan Wang CLA
URL:
Whiteboard: Need-Auto
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-17 10:45 EST by Dmitry Balzer CLA
Modified: 2011-03-15 05:48 EDT (History)
2 users (show)

See Also:


Attachments
sample report (4.28 KB, application/octet-stream)
2011-02-10 01:12 EST, Xiaoying Gu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Balzer CLA 2010-12-17 10:45:02 EST
Build Identifier: 20100617-1415

The first inline element in a grid cell will take the style of the grid.
This applies to documents generated in Word format only.
As a workaround for this, one must always insert an empty label as the first inline element, which is quite dodgy.

The problematic code is in org.eclipse.birt.report.engine.emitter.wpml.writer.AbstractWordXmlWriter.startTable(IStyle, int)

Reproducible: Always

Steps to Reproduce:
1. Create a BIRT report template with a grid in it
2. Put an inline element in any table cell
3. Change the visual style of that element
4. Preview report in DOC
Comment 1 Xiaoying Gu CLA 2011-02-10 01:03:37 EST
Could you please attach the sample report here?

I can not reproduce this issue with latest 2.6.2 build. My report design is attached.
Comment 2 Xiaoying Gu CLA 2011-02-10 01:12:04 EST
Created attachment 188650 [details]
sample report
Comment 3 Dmitry Balzer CLA 2011-02-10 05:41:33 EST
I have just tested your sample report - this bug is reproducible with BIRT 2.6.0 and *not* reproducible with BIRT 2.6.2 RC2! Thanks!

However, I've encountered another bug in 2.6.2 which is very important, please have a look:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=336796
Comment 4 Xiaoying Gu CLA 2011-02-10 21:13:50 EST
Set as fixed based on comment #3.
Comment 5 Xiaodan Wang CLA 2011-03-15 05:48:52 EDT
Set as Verified.