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

Free Support Forum - aspose.com

Wrong hyperlink action type (2629)

Hi, Im having a poblem with Theater-und Filmkunst.zip (1.7 MB) file.
There is a link with wrong action type, it return JumpSpecificSlide but it should not.

screenshot: Filmkunst.PNG (34.4 KB)

Code:

  Presentation presentation = new Presentation("Theater-und Filmkunst.pptx");
ISlideCollection slides = presentation.getSlides();
ISlide slide = slides.get_Item(12);
AutoShape shape = (AutoShape) slide.getShapes().get_Item(1);
IParagraph paragraph = shape.getTextFrame().getParagraphs().get_Item(34);
IPortion portion = paragraph.getPortions().get_Item(0);
System.out.println("portion text: " + portion.getText());
IHyperlink hyperlink = portion.getPortionFormat().getEffective().getHyperlinkClick();
System.out.println("action type: " + hyperlink.getActionType());

Can you please check this?
Thanks.

@Saric,
Thank you for the issue description. I reproduced the error and received the same result. I have logged the issue in our tracking system with ID SLIDESJAVA-38509. Our development team will investigate the issue. You will be notified when it is fixed.