From Bright Pattern Documentation
Contents
- Introduction
- Creating Custom Report Templates
- Prerequisites
- Downloading Libraries and Localization Resources
- 1 Importing Libraries
- Creating Data Adapter
- Importing Localization Resources
- Downloading Report Templates
- Importing and Modifying Report Templates
- Previewing and Saving Modified Report Templates
- Uploading Modified Report Templates
Custom Reporting Tutorial
Importing Libraries
In Jaspersoft Studio, create a folder called libs in the MyReports project. Right-click the libs folder and select Import… > File System. Open the report-template-libs folder of the package downloaded and extracted during the previous step. Select these files:
- report-formatter.jar (to provide scriplet functions for output formatting)
- mariadb-java-client-1.1.6.jar (for database connection)
- icu4j-4.8.1.jar (for Unicode and localization support)
- report-fonts.jar (for Unicode fonts)
Click Finish.
Select these jar files in the Project Explorer, right-click and select Build Path > Add to Build Path.
Add the files report_logo_bar.png and report_logo.png to the root folder of the project.