We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Wrong page linked when converting TOC page to PPTX

Hi,

I ran into an unexpected error when converting a PDF file to PPTX containing a table of contents. The output PPTX does have the TOC but it links to incorrect slides. In the converted PPTX, the second link should open the last slide but instead opens the 3rd slide.

try (Document document = new Document("src/main/java/" + fileName + ".pdf")) {
    document.save(fileName + ".pptx", SaveFormat.Pptx);
}

Aspose version used: 22.12
OS: macOS Ventura
Java 17

Files are attached:

2 Bundle.pdf (1015.6 KB)

Could you please look into this?

@srijal

I was able to replicate this issue and seems like a bug. I will contact the development team to research this issue and give us more information. I will give you more information as soon as possible.

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): PDFNET-53576

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.