I used Aspose Words to convert a word document to a pdf document. But converted pdf document do not have bookmarks. I used the following code to generate pdf document.
Document doc = new Document(wordFile);
doc.save(pdfFile);
Could you please help me in getting these bookmarks from word document to a pdf document.
I expected to display TOC as bookmarks content. But user defined bookmarks of the word document are shown as bookmarks in pdf. I tried with bookmark levels 1 & 2.
What can be done to display TOC as bookmarks content?