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

Bug 370096

Summary: Incorrect Indent in Word Emitter
Product: z_Archived Reporter: Henning von Bargen <h.vonbargen>
Component: BIRTAssignee: Ruo Yin <ruo.yin>
Status: VERIFIED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier, bugs.eclipse, rjoshi, shcampbell7
Version: unspecified   
Target Milestone: 4.2.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Henning von Bargen CLA 2012-01-30 03:41:24 EST
Build Identifier: Version: Indigo Service Release 1 Build id: 20110916-0149

The Word emitter creates unusable output for tables and grids.
The left indent is too wide compared to the PDF output.

Gerald Ploner and Scott describe the behaviour precisely in their comments to bug 350586 "Word doc has unwanted indent for text items in a grid with content type html". Scott even gave a hint about the code that is causing the problem. 

Please note that the issue still exists in BIRT 3.7.1.

I created a new bug for this issue as proposed by Xiaoying Gu.


Reproducible: Always

Steps to Reproduce:
1. Create a report with nested grids. Set the padding to 0.
2. Generate PDF and Word output.
3. Compare the results. The word output shows incorrect padding.
Comment 1 Ruo Yin CLA 2012-05-31 01:54:52 EDT
Fixed
Comment 2 Xiaoying Gu CLA 2012-05-31 01:58:30 EDT
Verified in 4.2.0 Rc2.