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

Free Support Forum - aspose.com

Can't access all smart art nodes (735)

Hi,


In the attached presentation, there is a SmartArt object which nodes I’m trying to access to. But instead of six main nodes, I get only three of them.

Here’s the code I used:

String path = “Test.pptx”;

InputStream inputStream = new FileInputStream(path);

Presentation presentation = new Presentation(inputStream);

inputStream.close();

ISlide slide = presentation.getSlides().get_Item(0);
ISmartArt smartArt = (ISmartArt) slide.getShapes().get_Item(2);
ISmartArtNodeCollection smartArtNodes = smartArt.getAllNodes();
for (ISmartArtNode smartArtNode : smartArtNodes) {
System.out.println(smartArtNode.getTextFrame().getText());
}

Here’s the output:

Functional Roles
Such as Talent, Compensation, Payroll and Benefits Partners
MANAGER
Examples of Roles Defined in Workday
HR Partner

Can you check this?

Thanks,
Zeljko

Hi Zeljko,

I have worked with presentation file shared by you using Aspose.Slides for JAVA 17.3.0 and able to observe the issue. A ticket with ID SLIDESJAVA-36212 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with issue so that you may be automatically notified once issue will be fixed.

We are sorry for your inconvenience,