Create a table of contents macro.
First version is gonna be static (needs to be double-clicked to be refreshed), and requires CRISTAL-713.
Second version (later on) will refresh automatically based on the editor's content (requiring CRISTAL-586).