twoods Posted May 17, 2011 Share Posted May 17, 2011 I have never been able to get this property to work. Am I I misunderstanding how it is supposed to work?<property name="net.sf.jasperreports.text.truncate.at.full" value="true"/>I would exepct that when a text field is set to a fixed width and StretchWithOverflow is set false, but net.sf.jasperreports.text.truncate.at.full is set true, then the field, when exported to Excel, would retain the fixed width but receive all of the original String content. However my experience so far (with version 4.0.1) is that the String still gets truncated to the width of the field as it would if exported to HTML or a PDF.Are there any other parameters that I must configure to get this to work? I do NOT want the cell to stretch, I just want it to receive all of the original content. I have tried setting IS_DETECT_CELL_TYPE to true but that doesn't make any difference. I have tried placing this property under the <jasperReport> element as well as the <reportElement>. -Tad Link to comment Share on other sites More sharing options...
twoods Posted May 26, 2011 Author Share Posted May 26, 2011 Looks like "net.sf.jasperreports.print.keep.full.text" was the property that I was looking for. 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