iReport Template designer is a tool to make Jasper reports. Lot of us use default templates for creating reports. We might have barely noticed that custom report template is also available. In this blog, we will walk you through on “ Creating a Custom Report Template in iReport ”.
An iReport template is a predefined style/layout which we can use to create reports. An iReport template can help report designers to maintain a standard format for reports with predefined styles and reduce the development time. iReport template can also help in keeping consistency among report designs. These iReport templates can be reused to create few standard reports like invoice report, work orders and different statements (income, profit & loss etc). By using iReport templates we can have most of our report formatting complete even before we start developing the report. This saves a lot of time for a report author/developer. iReport gives users an option to choose from various ready to use templates. When a user selects to create a new report a prompt with the predefined template is displayed, the user can either choose a new report or an existing template as shown in the below screenshot.
We can add these custom templates to the repository as per our convenience. Please follow the following steps to add report template to the new file editor page.
Go to Tools → Options and select iReport → Wizard Templates
Now we can add a report template by clicking on Add Jrxml. A report template is just a simple jrxml report with predefined styles, fonts, and report bands.
Now we can choose any existing jrxml from our machine which needs to be added in the report template repository.
Once the report is added to the Wizard Templates, we can see the template in the template chooser window while creating new reports and Creating a Custom Report Template in iReport will be available for the report authors to use.
2 thoughts on “Creating a Custom Report Template in iReport”
Having read this I thought it was extremely informative. I appreciate you taking the time and effort to put this informative article together. I once again find myself personally spending a lot of time both reading and leaving comments. But so what, it was still worthwhile!
Thank’s great post.