Quick look on minimal FastReport.NET report
Have you ever noticed how a report template transformed to the prepared report? Let's look onto code of a very simple report:
The single page. The single band on the single page. The single text field on the single band. Let's story it to the report template file:
So we have minimal report with single text string on the gray background. Let's do preview of this report
And source code of prepared report:
Report template stored in prepared report within section <sourcepages>. All constant attributes are taken from the section <sourcepages> by transforming references via section <dictionary>.
For example, <page1> refers to the same element in section <dictionary>. An attribute "name" of element <page1> of section <dictionary> is set to value "Page0". By some reason we need increment a number within page name. Now we have name of element within section <sourcepages> - it is "Page1".
Therefore we link the element <page1> in section <pages> with the element <ReportPage> in section <sourcepages> by matching the property "name".