I created a Word document and added bookmarks using the native Word feature:
Insert → Bookmark.
Then, I process the document with Aspose.Words and save it as a PDF. Here’s the code I’m using:
var reportBuildOptions = …... The link to the bookmark/outline target...