Jump to content
Changes to the Jaspersoft community edition download ×

Building a JasperPrint obj with Java


Recommended Posts

I'm trying to create a report (JasperPrint) heirarchy using Java. I'm creating a piece of text (JRPrintText) and inserting that inside a frame (JRBasePrintFrame) and inserting that in a page (JRPrintPage), and finally, inserting that inside the report (JasperPrint). This mostly works. The problem that I'm running into is that the text will not wrap and stretch the frame, which is what I thought frames were used for. After poking around in the Jasper source code for a while, it appears that somewhere along the line I need to make used of one or more

of the 'filler' classes. The fillers seem to be the only place that the 'stretch' is calculated. However, I haven't been able to figure out how to connect the fillers to the report objects.


Has anyone had experience with this?



Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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