Skip to content

TextField's stretch property doesn't work when generating a report #115

Description

@competense

I am using phpjasperxml in Laravel 11 and a jrxml file from Jaspersoft Studio 6.18. Things work as expected except for the stretching ability of a TextField. I need it to stretch as some of the string values for a database field are more than one line (i.e. 1-1000 characters).

I have tried many combinations in the properties, but I think it always has something to do with Position Type= Float, Stretch Type = <anything except "No stretch">, and Text Adjust = StretchHeight.

The preview of the jrxml file is working as it should, but the PDF file generated from the same jrxml file isn't.

Screenshot 2024-11-29 at 7 35 01 PM Screenshot 2024-11-29 at 7 34 13 PM

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions