Jump to content
Changes to the Jaspersoft community edition download ×

Problem with attribute isStretchWithOverflow


Recommended Posts


I need to keep full text in my textField. The text could be long.

my element:

<textField isStretchWithOverflow="true" isBlankWhenNull="true">
        <reportElement style="detail" stretchType="RelativeToTallestObject" x="417" y="0" width="138" height="110" isPrintWhenDetailOverflows="true">
                    <property name="net.sf.jasperreports.print.keep.full.text" value="true"/>
      <textFieldExpression class="java.lang.String"><![CDATA[$F{UWAGI}]]></textFieldExpression>



When I export it to xls, first view shows a part of text,  rest is hidden, but all text is remaining.

When I export to pdf , element's height strecht around twice but still it's just a part of full text, about 260-300 characters.

Any ideas?

I'll be grateful for any help.



Link to comment
Share on other sites

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