Description
BIRT Version: 4.19.0
Description: When exporting a BIRT report to XLSX or XLS formats, columns set to "hide" in a crosstab table result in blank rows appearing in the exported file. While the hidden columns are not visible, the export creates blank rows where those columns would have been. This issue does not occur in previous versions of BIRT, such as 4.6.0, where the visibility property worked correctly without leaving blank rows.
Steps to Reproduce:
Create a crosstab table in a BIRT report.
Set the column visibility property for each column in the first row of the crosstab table to "hide."
Export the report to the XLSX or XLS format.
Observe that the hidden columns are not visible, but blank rows appear in the exported file in place of the hidden columns.
Expected Behavior: The visibility property for the columns in the crosstab table should be respected across all export formats, including XLSX and XLS. Specifically, columns set to "hide" should not only be invisible but also not leave any blank rows in the exported file.
Actual Behavior: The column visibility property is partially respected in the XLSX/XLS exports — the hidden columns are not visible. However, blank rows are inserted in the place of the hidden columns, which was not the case in BIRT 4.6.0.
Version Comparison:
BIRT 4.6.0: The column visibility property works as expected — hidden columns are not visible, and no blank rows are inserted.
BIRT 4.19.0: The hidden columns are not visible, but blank rows are left in the exported XLSX/XLS file.
Workaround: Currently, no workaround exists to fully address this issue in BIRT 4.19.0 for XLSX/XLS exports. Other formats like PDF, HTML, and CSV are unaffected.
Additional Information:
This issue is specific to BIRT 4.19.0 and the XLSX/XLS emitters.
The issue does not occur in BIRT 4.6.0, where the visibility property works as expected.
The problem seems to be a regression in BIRT 4.19.0, affecting only XLSX/XLS exports.
Environment:
BIRT Version: 4.19.0
Export Formats Affected: XLSX, XLS
Report Type: Crosstab Table