Retrieve Text (or paragraphs) in PPTX (PPT 2007)

I know how to read paragraphs if the PPT is in 2003 or earlier. But this 2007 (PPTX) is different from the previous version, and I don’t know how to read paragraphs from PPTX. Can you please provide me the sample code?

I’m using Asplise.slides 2.3.0 (Java).

Thanks.

Dear Mi Parker,

You are very right in making your comments that extracting text from PPTX slides is different as compared to PPT. In PPT the shape contains the text frame, which holds the paragraphs. However, in PPTX the shape are type casted to auto shapes. The auto shape holds the text frame and text frame holds paragraphs. Please follow this documentation link for extracting text from different PPTX shapes including tables.

Thanks and Regards,