Hi Team,
When we convert the attached work document to PDF, the bookmarks contains footnote/endnote numbers.
If we create the PDF from MS Word Save As PDF option, then we do not see the number. Works as expected.
Hence, I feel there could be an issue with Aspose.Words. Please correct me if I am wrong and let me know if there is any workaround.
If we create the PDF from MS Word Save As PDF option, then we do not see the number. Works as expected.
Hence, I feel there could be an issue with Aspose.Words. Please correct me if I am wrong and let me know if there is any workaround.
Aspose code:
Document doc = new Document(path);
PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.getOutlineOptions().setExpandedOutlineLevels(5);
saveOptions.getOutlineOptions().setHeadingsOutlineLevels(9);
doc.save(path + “.pdf”, saveOptions);
Please let me know if you need any more details.
Thanks,
Satyendra
Satyendra