The document's headings and bookmarks, for a navigation pane and the Bookmark dialog.
The bookmarks, hidden ones too, in document order. Go to one with the goToBookmark command.
goToBookmark
The headings, in document order.
Selects and reveals a heading.
The document's headings and bookmarks, for a navigation pane and the Bookmark dialog.