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

Bug 339186

Summary: border alignment fails using tables
Product: z_Archived Reporter: lpizarro
Component: BIRTAssignee: Yu Chen <yChen>
Status: RESOLVED WONTFIX QA Contact: Xiaoying Gu <bluesoldier>
Severity: critical    
Priority: P3 CC: bluesoldier, lpizarro, yChen
Version: 2.6.2   
Target Milestone: 3.7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Report design none

Description lpizarro CLA 2011-03-08 04:47:37 EST
Created attachment 190638 [details]
Report design

We need to show data like a Crosstab, but we can not use a CrossTab.
So we use a table inside a table.
WWe borders to better see the data but we realize that a border alignment problem occurs because of the padding property.

To reproduce this problem, we created a rptdesign (see rptdesign file attached) with "BIRT 2.3.2".
In order to align the different borders, the padding property (Top, Bottom, Left and Right) is set to ZERO for:
the cell containing the Orders table and
the cell containing the Order Details table.

The PDF obtained by using "View report as PDF", on BIRT 2.6.2, BIRT 2.6.1 and BIRT 2.3.2, shows the border alignment problem.

Please, if this is not a bug, how can i fix this alignement problem with inner tables???
Comment 1 Xiaoying Gu CLA 2011-03-10 20:54:17 EST
This report is designed not to be "aligned". 

It has a three-layer inner table. The cell border of the most inner table must have a gap between the most outer table.

You can use drop cell to avoid the gap. But because the border won't collapse, the cell border will look thicker for the inner group.

A substitution is removing all borders, and distinguishing the fields with background color.