setStretchWithOverflow(false) Truncates Data in XLS Export


We have an existing Excel export method, however the business wants to control the line height (lines are the same height, and any data is available not only the portion that can be displayed is displayed).

According to everything I've read, we should add setStretchWithOverflow(false) to the style, and then add getPropertiesMap().setProperty("net.sf.jasperreports.print.keep.full.text", "true") to the JasperPrint object.

However, doing that completely truncates the data; we get a blank Excel worksheet. 

Is this a bug or am I missing something?

LinuxLars's picture
Joined: Jan 31 2007 - 11:59pm
Last seen: 6 years 6 months ago

I also have the same issue can someone help. detailStyle.setStretchWithOverflow(false); is completely making empty sheet

tikendra.verma - 6 years 9 months ago

0 Answers:

No answers yet