Jump to content

Unable to get net.sf.jasperreports.text.truncate.at.full=true to work


twoods

Recommended Posts

 

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

  • 2 weeks 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...