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

Free Support Forum - aspose.com

Incorrect hyperlink action type in .ppt file


I have a .ppt presentation with just one paragraph which contains hyperlinked text. The hyperlink targets to slide #1. When I try to get hyperlink’s action type, I get HyperlinkActionType.NoAction instead of HyperlinkActionType.JumpSpecificSlide.

Here’s the code I use:

public void testPpt() throws Exception {

String presentationPath = “HyperlinksInternalTest.ppt”;

InputStream inputStream = new FileInputStream(presentationPath);

Presentation presentation = new Presentation(inputStream);


ISlide slide = presentation.getSlides().get_Item(0);

IAutoShape shape = (IAutoShape) slide.getShapes().get_Item(0);

IParagraph paragraph = shape.getTextFrame().getParagraphs().get_Item(0);

IPortion portion = paragraph.getPortions().get_Item(0);


IHyperlink hyperlink = portion.createPortionFormatEffective().getHyperlinkClick();


Here’s the output:

hyperlink to specific slide

I’m using Aspose.Slides for Java 16.9.0.

Can you check this?

Hi Zeljko,

I have observed your comments. I have been able to reproduce the issue. A ticket with ID SLIDESJAVA-35685 has been logged in our issue tracking system to further investigate and resolve the issue.This thread has been linked with the issue so that you may be notified automatically as soon as the issue will be resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESJAVA-35685) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.