Hi - Is it possible to extract text from pptx using, targeting individual slide. Any example? I’ve searched round the forums and website with little luck.
Thanks.
Hi - Is it possible to extract text from pptx using, targeting individual slide. Any example? I’ve searched round the forums and website with little luck.
Thanks.
I have observed your comments. I have shared code snippet with you. This will help you to achieve your requirements. Please share feedback with us if there is still an issue.
String path=“F:\Aspose Work\”;
Presentation presentation=new Presentation ();
ITextFrame[] textFramesPPTX = SlideUtil.getAllTextFrames(presentation, true);
for (int i = 0; i < textFramesPPTX.length; i++) {
for(IParagraph para : textFramesPPTX[i].getParagraphs()) {
for(IPortion port : para.getPortions()) {
System.out.print(port.getText());
// presentation.save(path+“test.pptx”,SaveFormat.Pptx);
Many thanks.