Jump to content
We've recently updated our Privacy Statement, available here ×

setStretchWithOverflow(false) Truncates Data in XLS Export


LinuxLars

Recommended Posts

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?

Thanks,
Larry
Link to comment
Share on other sites

  • 1 year later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...