views:

19

answers:

0

Hello,

My problem seems to be so simple although could not find any answer yet. Suppose there is a master and associated sub-report which have been compiled already. I need to modify some attributes of the sub-report (such as PdfFontName or PdfEncoding) in run-time before run the master one to PDF format. Well, I load the master, then load the sub-report, modify the attributes on it and finally run the master.

It is clear that there is not any linkage between loaded master / sub objects. When I run the master one none of my modifications does not take place as the JasperManager loads a new sub-report and uses it!

Appreciate for all comments, -- afshin