-
Book Overview & Buying
-
Table Of Contents
Pentaho Reporting 3.5 for Java Developers
The following DataFactory implementations are made available as part of the Pentaho Reporting Engine. In this section, you'll learn about the nine commonly used DataFactory implementations, including a working example of each DataFactory. Before you begin the examples, create a new folder called chapter5, and copy over JAR files in the lib folder from Chapter 2 into chapter5/lib. Also, copy the chapter2_report.prpt into the chapter5/data folder.
The org.pentaho.reporting.engine.classic.core.TableDataFactory class is the simplest form of a DataFactory for loading data into the Pentaho Reporting Engine. The TableDataFactory manages a set of existing TableModel instances and makes them available to the reporting engine. Behind the scenes, the TableDataFactory was used in Chapter 2. If you were to implement the same capability in code, you would need to define the TableDataFactory explicitly. To construct a TableDataFactory, you can either...
Change the font size
Change margin width
Change background colour