mtn Posted April 10, 2019 Share Posted April 10, 2019 In a report (Excel export) I'm creating I have some long texts in a particular field. These texts can be so long that when using the stretch with overflow give a 'weird' result (very high columns). Is it possible to use a property for keeping the complete text but that it fallbacks to Excel default behaviour (so the text is in the cell but only partialy visible and you need to stretch the column to see the complete contents of the cell).Hope this is a bit clear.Thanks. Link to comment Share on other sites More sharing options...
Solution hozawa Posted April 10, 2019 Solution Share Posted April 10, 2019 Instead of setting Stretch with Overflow, set the following property in the text field to "true"net.sf.jasperreports.print.keep.full.text Select the text field. Select "Advanced" tab in the Properties. Expand "Misc" and select "[Properties: 0]" Search for the above property and set it to "true" Link to comment Share on other sites More sharing options...
mtn Posted April 11, 2019 Author Share Posted April 11, 2019 Setting this property seems to work but also seems to lead to merged cells when the text becomes longer. Is there a way to prevent this merging of cells? Thanks! Link to comment Share on other sites More sharing options...
hozawa Posted April 11, 2019 Share Posted April 11, 2019 I'm using Jaspersoft Studio 6.6.0 and can't reproduce the issue or merging cells.Did you uncheck the "Stretch With Overflow" option? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now