getOutlineAsync

List of top-level (outline / table-of-contents) bookmarks, asynchronously. Bookmarks are organized in a tree-like structure and can have children.

Note: When this document is a compound document, this will only ever return the outline of the first document source.

Returns the list of top-level bookmarks, or an empty list if no outline elements exist.