Word to Pdf Conversion - Issue in footnote conversion. Hyperlink to the footnote from its references are missing

Hi,

I am trying to convert a word document with footnotes to pdf. After the document is converted to pdf, the hyperlinks to the footnotes and display of the footnate data on hover of the references is not working in aspose-words-15.6.0

Please suggest if additional coding is required other than the below code:

Document msword = new Document(f.getPath());
PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.setCompliance(PdfCompliance.PDF_A_1_B);
saveOptions.setBookmarksOutlineLevel(OutlineLevel.LEVEL_8);
saveOptions.setHeadingsOutlineLevels(OutlineLevel.LEVEL_8);
saveOptions.setExpandedOutlineLevels(OutlineLevel.LEVEL_4);
msword.save(file.getPath(), saveOptions);

Thanks in advance.

Hi Manohar,

Thanks

for your inquiry. Please use PdfSaveOptions.CreateNoteHyperlinks property to specify whether to convert footnote/endnote references in main text story into active hyperlinks. When clicked the hyperlink will lead to the corresponding footnote/endnote. Default is false.

If you still face problem, please share your input word
document here for testing. I will investigate the issue on my side and
provide you
more information.

Hi Tahir Manzoor,

Thanks a lot for the quick reply.
After setting saveOptions.setCreateNoteHyperlinks(true), the foot note and its references are working fine.
But I am facing a new issue in the bookmark section of the converted pdf. A new bookmark is inserted in the pdf for each footnotes with title as #_AsposeWordsSpanFootNote.
Please suggest if there is a way to avoid inserting these bookmarks in pdf.
If we can’t avoid it, can we set the footnote text as title for the bookmark.

Please find the attached zip document containing the word and converted pdf and the code used for conversion.

Thanks and Regards,
Manohar

Hi Manohar,

Thanks
for sharing the detail. I have tested the scenario and have managed to
reproduce the same issue at my side. For the sake of correction, I have
logged this problem in our issue tracking system as WORDSNET-12195. I
have linked this forum thread to the same issue and you will be notified
via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Tahir Manzoor,

Thanks for the quick reply and your support. I will wait for further updates on the thread.

Regards,
Manohar G.N.