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

Free Support Forum - aspose.com

Hyperlink with target slide


I’m trying to create a hyperlink with target slide and some tooltip text. I have to use this constructor

Hyperlink(Hyperlink, String, String, Boolean, Boolean, Boolean)

since I don’t see other way to set tooltip text. But doing it like this, target slide is not set. It is null.

Here’s the code I use:

IPresentation presentation = new Presentation();

ISlide slide = presentation.getSlides().get_Item(0);
IHyperlink hyperlink = new Hyperlink(new Hyperlink(slide), null, “Tooltip Text”, false, false, false);
System.out.println("getTooltip: " + hyperlink.getTooltip());
System.out.println("getTargetSlide: " + hyperlink.getTargetSlide());


getTooltip: Tooltip Text
getTargetSlide: null

Can you check this?


Hi Zeljko,

I have worked with the sample code shared by you and have been able to observe the issue specified. It seems to be an issue with Aspose.Slides and an issue with ID SLIDESJAVA-35277 has been created 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 automatically notified once the issue will be fixed.

We are sorry for your inconvenience,

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

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