Book Image

Pentaho 8 Reporting for Java Developers

By : Jasmine Kaur, Francesco Corti
Book Image

Pentaho 8 Reporting for Java Developers

By: Jasmine Kaur, Francesco Corti

Overview of this book

This hands-on tutorial, filled with exercises and examples, introduces the reader to a variety of concepts within Pentaho Reporting. With screenshots that show you how reports look at design time as well as how they should look when rendered as PDF, Excel, HTML, Text, Rich-Text-File, XML, and CSV, this book also contains complete example source code that you can copy and paste into your environment to get up-and-running quickly. Updated to cover the features of Pentaho 8, this book will teach you everything you need to know to build fast, efficient reports using Pentaho. If your interest lies in the technical details of creating reports and you want to see how to solve common reporting problems with a minimum of fuss, this is the book for you.
Table of Contents (25 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Dedication
Preface

Customizing Pentaho reports


Now that a first version of the report is developed (and tested using the preview), it's time to think about a second iteration, with the goal of enriching it by adding complexity to the layout with new elements. Before starting this new task, let's duplicate the previous report with a different name.

Duplicating an existing report is really straightforward: copy the report_01.prpt file as report_02.prpt in the  my_reports folder. Once copied, open the report using the Pentaho Report Designer. Opening a report has been introduced in Chapter 1, Introduction to Pentaho Reporting with more details, but it can be easily done using the folder icon (

) in the toolbar of the Pentaho Report Designer or the upper menu in the File group (using the Open item).

Customizing the font

We can do a lot for our report to make it more appealing for the users, and sometimes a few basic changes can improve the quality of the final result. As an example of customization, we are going to...