Hi,
I am generating a report that has dynamic data in its header and footer. The header and footer are rendered on every page and are drawn from the title page. However, there is a section in the report that adds more data to the same header and footer, but only for that section. For example, if my report has these sections:
1. Title page
2. Table of contents
3. Special section
4. Normal section
Then 1, 2, 4 have the normal header and footer, but 3 has the normal header and footer PLUS extra data.
I know I can set a different header and footer altogether for the special section, using named pages. But this overwrites the data from the normal header and footer. If possible, I would like to not repeat the markup for the normal header and footer.
How can I add data to a header/footer given certain conditions?
I am generating a report that has dynamic data in its header and footer. The header and footer are rendered on every page and are drawn from the title page. However, there is a section in the report that adds more data to the same header and footer, but only for that section. For example, if my report has these sections:
1. Title page
2. Table of contents
3. Special section
4. Normal section
Then 1, 2, 4 have the normal header and footer, but 3 has the normal header and footer PLUS extra data.
I know I can set a different header and footer altogether for the special section, using named pages. But this overwrites the data from the normal header and footer. If possible, I would like to not repeat the markup for the normal header and footer.
How can I add data to a header/footer given certain conditions?