Closed leandrobattochio closed 1 year ago
What do I do with TableOfContentsTemplate
? How to use it? Should I copy and paste? Should I be able to run QuestPDF.ReportSample project to get a preview of an example report?
Read the code and implement something similar in your program?
I just found this lib and it is very good but one thing I don't understand and didn't find any information of how to do is a table of content, like this one:
I'm using QuestPDF to generate a report, it's a dynamic report, may have random number of pages but it follows a structure and table of contents is one of the required features of the report.
How would I go to achieve this feature and generate a dynamic table of contents based on the current document I'm generating?