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
Thanks,
Zeljko