Content Map in Current Section

Description : Add a compact, mind map style TOC tree at the top of the current section. The tree contains links to all section pages and up three levels of headings per page. The connector lines between nodes are 'drawn' using special glyphs from a monospace font. To minimize user interaction, no UI is displayed.


Author(s) : WetHat
Category : TOC
Last Updated : August 08, 2017
Requirements : OneNote 2010 or above
Screenshot :

Content Map in Current Section

No screenshot available for this macro.
Changelog :

August 08, 2017 (485552) - WetHat
* Fixed incorrect graph 'drawing' which crept in after ForEach changed behavior (modifications to the array elements made in the ForEach loop where lost) * removed whitespace headings * migrated to new string APIs

May 14, 2017 (3E860F) - WetHat
Better monospace font used.

April 20, 2017 (2E7152) - WetHat
Minor cleanup; Only non-empty headings added to the map; If the first heading on a page is identical to the page title, it is not added to the map (unless it is more than 5 paragraphs away from the page top)

April 17, 2017 (251799) - WetHat
Initial Version


TomasFiers - 2017-05-12
Beautiful code and output!