drsaturno Posted June 11, 2010 Posted June 11, 2010 Hi there,I was researching some way of reusing jrxml parts, such as report title elements, report footer elements, etc, in a way of providing some pattern to all my reports.I found some topics related to the same issue:http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=26491http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=3043The jasperTemplate filter helps me to stablish a way to start new reports, defining styles, headers, footers, etc.But when we have to change those patterns, like, for example, a logo image position at the top of all reports, I cannot do it in just one template file. In other words, I cannot avoid replications in all the reports, I have to change the image position in all reports.That's not true, in fact. I tried to use XML entities as a workaround, and it worked. But, once I define a XML entity inside a jrxml file, I cannot use iReport as a jrxml editor anymore to compile reports, cause all my entities are translated, and all the replicated code is back again.Is there any news about this issue? How to create a template avoiding code replication in all reports using it?Thank you!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now