Requirement: To create a professional looking dynamic pdf with Headers, Footers Table of Contents, etc. The page needs to be dynamic enough to display multiple sets of records, classified into categories (Won Opportunities, Lost Opportunities, Active Opportunities etc. in a tabular format spanning multiple pages due to the number of records.).
What I have managed so far is that using this I have managed to insert repeating Headers and Footers and using the css page-break-before property I have managed to insert page breaks where appropriate.
Where I am struggling is to generate a dynamic Table of Contents with indented headers (hyperlinks) and page numbers.
Has anyone come across such requirement? Any help will be much appreciated.