iReport 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 “How to create a custom report template in iReport”.
A report template is a predefined style/layout which we can use to create reports. A report template can help report designers to maintain a standard format for reports with pre defined styles and reduce the development time. Report template can also help in keeping consistency among report designs. These templates can be reused to create few standard report like invoice report, work orders and different statements (income, profit & loss etc). By using these 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 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
Once the report is added to the Wizard Templates, we can see the template in the template chooser window while creating new reports and the template will be available for the report authors to use.