01 Classes in the ReportLib

The class ContainerFrame offers a series of convenience functions (see 2.18) which it allows you to create a report without any new operation in the code. This although the ReportLib works highly dynamic. You can of course use all base classes and functions to build the report, or you can mix the base classes and the convenience functions.

In the following sections you find the description of the classes in the ReportLib. At first there are all the classes which you will need to build the report structure and some abstract base classes from which the frame classes inherit functionality. At the end of the chapter, you can find a description of some internally used classes.

Most of the classes that you need to create a report are set up so that you create an instance of the class with some parameters in the constructor and then you can set more attributes with setter functions. You have to add the created objects to the hierarchical structure, normally via the function addFrame.

As mentioned earlier the ReportLib library uses the TCPDF library to create PDF documents. Therefore, some of the parameters and values in this library will be inherited from the TCPDF library. All code which accesses the TCPDF library is encapsulated in the class Renderer.