Jump to content

Modifying Compiled Report & Subreports at runtime


afshin2003

Recommended Posts

Hi Guys,

I've already posted this issue with another topic, but unfurtunatlly did not get any reply. My problem is :

Suppose there is a compiled report and associated subreports. I load the report (by JRLoader.loadObject), browse all field elements, modify the PdfFontName and PdfEncoding. If the visiting element be instance of JRSubreport, after loading of it (by JRLoader.loadObject) the same action taken. After modifying the mentioned attributes, I use JasperRunManager.runReportToPdf to produce my report in PDF format. Well, the issue is that mofications on subreport will lost because there is not any linking between the loaded master report object and subreports. I could not find the right API to do my job correctly.

Apprecaite all comments.

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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