ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Report Excel Export Header Truncation Issue Jasper Report

book

Article ID: 141431

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

We have recently upgraded Jaspersoft to 7.1.0_6.1.0.28 in one of our non-production environments. We have observed that when the report is exported to excel, the column header is truncated (please refer to the attachment).  Interestingly, this does not happen for the same report JRXML when run in another non-prod environment with the same Jasper version. 

Please note that we have already used following settings in the reports -

<property name="net.sf.jasperreports.print.keep.full.text" value="True"/>
<property name="net.sf.jasperreports.export.xls.wrap.text" value="false"/>
<property name="net.sf.jasperreports.export.xls.font.size.fix.enabled" value="false"/>

Environment

Release : 15.4.1

Component : CA PPM JASPERSOFT

Resolution

net.sf.jasperreports.print.keep.full.text to true solved the issue.