Free Support Forum - aspose.com

Getting text 1143

Hi
I can’t find the way to get the text, can you tell me is there a way to extract text from this presentation. test.pptx.zip (76.0 KB)

this is the code i expected to work:

Presentation presentation = new Presentation("test.pptx");
ISlide slide = presentation.getSlides().get_Item(0);
AutoShape shape = (AutoShape) slide.getShapes().get_Item(0);
IParagraph paragraph = shape.getTextFrame().getParagraphs().get_Item(0);	
System.out.println(paragraph.getText());

Thanks,
Zeljko

@Zeljko,

I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-36566 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.

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