Heading is not coming as bookmark while saving as pdf

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

@Gptrnt
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-26734

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Looks like the problem occurs because the heading paragraphs are in shapes.

The issues you have found earlier (filed as WORDSNET-26734) have been fixed in this Aspose.Words for Java 25.4 update.