Jump to content
We've recently updated our Privacy Statement, available here ×
  • VIDEO: New textField stretch feature in JasperReports Library 7.5.0 via jrxml textAdjust attribute


    stasp
    • Version: v7.5, v7.5.0 Product: JasperReports® Server

    This video goes over the functionality of the new textAdjust attribute, which was introduced in JasperReports Library 7.5.0 to replace the deprecated isStretchWithOverflow.

    ===
    In JasperReports Library 7.5.0 the isStretchWithOverflow attribute has been deprecated, and replaced with the textAdjust attribute.  These are helpful when your textField's dimensions might be too small for the amount of data which might come from your datasource.   The textAdjust attribute includes the original two behaviors and adds a third. 

    - CutText: involves is the default behavior and like the previous default behavior it involves truncation.
    - StretchHeight: replicates the previous behavior you got from setting isStretchWithOverflow to true
    - ScaleFont: is new, The font size of the text is scaled down so that the entire content fits
    the text field element size.

    Reference:
    http://jasperreports.sourceforge.net/schema.reference.html#textField
    ===


    User Feedback

    Recommended Comments

    There are no comments to display.



    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...