Hi
I am converting a Word file Test (3).docx (22.9 KB)to a PDF file using the below code
PdfSaveOptions options = new PdfSaveOptions();
options.getOutlineOptions().setDefaultBookmarksOutlineLevel(1);
options.getOutlineOptions().setHeadingsOutlineLevels(2);
options.setOpenHyperlinksInNewWindow(true);
document.save(genFileWithPath,options);
The generated PDF file does not have any bookmark of the heading in the document. Please help me to fix this issue.
Thank you