Code Snippets
Code snippets are bits of re-usable code submitted by the ReportLab community. We don't promise that they are accurate, up-to-date or correct - use them at your own risk!
We'd love it if you could participate by submitting your own snippets and sharing your experience with others by commenting. You will need to create a user account by filling out our very simple form.
XML snippets:
-
13 years, 1 monthCreates a Table of contents in RML, with clickable links that take you to the appropriate page in the document