Insert hyperlink doesnt work when doc is converted to pdf - aspose.words

@hrnallap In the input document you have attached there is no TOC field. So the condition does not pass and bookmark is not inserted. You can step through debugger to check this. Most likely TOC is inserted later in your code.