kingsteff Posted April 16, 2009 Share Posted April 16, 2009 Hello there,my problem is: everytime i generate a report as an XLS File, i got much content in every cell (text only) an this content is beeing automatically cut off, especially when there is a line break in it."This is anexample"--> only "This is an" is the content of the cell. how can i fix this? enlarge cell height or width won't do the trick, cause what is if there are two or three line breaks?? thanks for help steff Link to comment Share on other sites More sharing options...
lucianc Posted April 17, 2009 Share Posted April 17, 2009 You should either set isStretchWithOverflow="true" for the text fields (in which case the text field will stretch at fill time), or set the net.sf.jasperreports.print.keep.full.text property to true (in which case the text field would not change its height, but the entire text will be present in the Excel cell).HTH,Lucian Link to comment Share on other sites More sharing options...
kingsteff Posted April 20, 2009 Author Share Posted April 20, 2009 finally i got the answer. because i dont want to strech the cells, bute also what to be the content into it.i set the propertynet.sf.jasperreports.print.keep.full.text = TRUE (thanks for the answer also)which is false by default.so try this if u have the same problemsbye steffPost Edited by kingsteff at 04/20/2009 09:54 Link to comment Share on other sites More sharing options...
naveennaliath Posted May 26, 2011 Share Posted May 26, 2011 How to set 'Keep full text 'Programatically? Link to comment Share on other sites More sharing options...
annaclause Posted June 9, 2011 Share Posted June 9, 2011 How do you set the text field? Link to comment Share on other sites More sharing options...
shamphadtale Posted September 28, 2011 Share Posted September 28, 2011 You can set property programaticaly as - jasperPrint.getPropertiesMap().setProperty("net.sf.jasperreports.print.keep.full.text", "true"); 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