Report Flow
The DynamicPDF Designer defines a general layout of the PDF report as a template, which is to be generated (saved as a DPLX file). This DPLX file is used by the DynamicPDF ReportWriter to create the actual PDF report.
In the Designer you can:
- Set Page Heights, Widths and Margins
- Set Header and Footer Sections
- Add Elements to any Section
- Define a DB Query (or Stored Procedure)
- Include multiple Reports in a single Report
- Add static Pages before or after Reports
The Designer generates a template for the Report. This template is a DPLX file. The actual report is generated in the ReportWriter as follows:
Step 1: A new Page is added to the PDF using the defined dimensions and margins specified in the DPLX file.
Step 2: The Header and Footer are placed on the Page.
Step 3: The Detail section (defined in the DPLX file) is then added for every record on the the RecordSet (see Figure 1 below).
Step 4: The report is complete if the end of the RecordSet is reached. Otherwise an additional Pages are added.
Step 5: Repeat Steps 1 to 4 until all records have been displayed.
