Jump to content
We've recently updated our Privacy Statement, available here ×

GenericElement strips the content for large data. Can't scale like TextField.


Sameer Mandaokar

Recommended Posts

Hi Team,

 

We're using JasperReports v6.13.0 and we've requirement to show the Rich Text Data as part of Jasper Report output. We want to use Generic Element to hold the content and hence set below property to this generic element 

1. Generic Type Name = "htmlelement"

2. Generic Type Namespace = "http://jasperreports.sourceforge.net/jasperreports/html"

 

When this generic element is feeded with data having 300-500 lines then it only shows 30 lines in HTML format and strips other lines. In PDF, it shows all the line but Font size get's reduced to non-visible state. This is not the case with TextField element, as its gets scale automatically and honor all the lines correctly.

We tried with various values for scaleType parameter but none of them worked for us for Generic element. Can you please provide any tweak or authoring details to acheive this auto-scaling behavior to honor all the data of large size.

 

Regards, Sameer.

Link to comment
Share on other sites

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