One of the core APIs deep within Pentaho Reporting is the set of output layer interfaces. These interfaces, along with abstract class implementations, make it possible to write your own custom output generator. In this section, you'll discover the main interfaces within the API, learn about some of the key classes involved in rendering a report, as well as walk through a very simple example demonstrating how to render a report to your own custom format.
The OutputProcessor
API is used during the last stage in general report processing. Before the calls are made to the OutputProcessor
API, a ReportProcessor
implementation generates an internal logical model of the report to be rendered. This includes executing all the functions defined, calculating all the locations and sizes of individual components within the report, and in the case of a paged report, determining which content goes on what page.
Once a ReportProcessor
has completed the internal...