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

Including dynamic images in reports


Including dynamic images in your Pentaho report is useful, because in that way you can add logos, and graphics in general, that may change according to a data source. As an example, we can imagine a report changing its logo depending on the department of the user or the image of a product in a product list.

To add dynamic images to your report, use the image-field icon (

) from the Report Designer palette and place it in your report. The content field accepts different types of image inputs for rendering. By double-clicking on the element, you can edit the source pointing to the right field of your dataset. If you have a field that contains a URL or file system location to your image, the image-field element will render the specified image.