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

Previewing Pentaho reports in different formats


Now that you have two brand new reports (report_01.prpt and report_02.prpt) developed starting from a blank page, let's see how to preview report_02.prpt in different formats. As you learnt in the introduction, Pentaho Reporting Engine is able to generate reports in several formats, independently from the development.

To preview a report choosing the format, click on the green arrow icon (

) visible in the toolbar. Once clicked, you will see a short menu appear with a list of possible formats. The following screenshot shows what the menu looks:

Choosing the Print Preview item is like choosing the default format; the default format is generated and downloaded locally. If you select the PDF format, you will see that the report is entirely generated and downloaded locally. If your client environment has a reader (or software) associated with the format, you will see that it will be opened and previewed. On other hand, if the format of your report...