Jump to content
JasperReports Library 7.0 is now available ×

htmlcomponent autosize /auto fit/ stretch with overflow issue. html input file not able to stretch the data or pick the dynamic size.


vineethhegde68

Recommended Posts

Team !!!!

I am not able to do autosize/auto fit the input html content in the jasper design for the htmlcomponent or take the dynamic size .

Any work around to fix this. Please help.

 

converted-file.png.4dc42a49b2f601338f7ff5dc7a112ada.png

Above config has been done for htmlcomponent.please check anything else can be done to fix this.

converted-file.png.73a14860bc91cb1814d980319786e363.png

 

It is taking above size !! Is there is any possible way to take the size dynamically?

Link to comment
Share on other sites

  • 2 weeks later...

the samples that come with version 4.0.1 of JasperReports source, there is one very interesting for me, "htmlcomponent", I have been testing the sample, modifying the parameters that are passed to the report.
The problem I've found to use it, is that when generating a pdf, if the html included in the htmlContentExpression is lengthy, does not fit into the htmlcomponent's height , so the pdf generated doesn't look fine.
Would It  be possible to have the same behavior can be obtained for the component "text field" with  "Stretch with overflow"  property to true?, ie, if the text is too large the component height es dinamically increased, so that the pdf may be printed in several pages.

  • Like 1
Link to comment
Share on other sites

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