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