02 Frames
Everything on a report is inside a frame i.e., a rectangular region on the paper. A frame has an upper left corner and a lower right corner. The library will calculate these values based on the definitions of the frame and/or the content. You can define the width in millimeters or in percent of the surrounding frame or you leave it to the ReportLib to calculate them.
Some frames (container frames) may contain other frames. The sizes of the inner frames define the size of the surrounding frame, whereas the outer frame may limit the size of the inner frames.
The whole report has internally a tree structure of different nested frames. During the output, the library will process the tree recursively.
As you can see the basic idea is very simple but because the structure is recursive it can get complex.