cpp: Add document::create_destination_map()

Creates a map of all the named destinations in the document.
2 files changed