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?
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.