I am trying to read contents of a pptx file. Can I extract the thumbnail or formula when it comes to reading equations embedded from WPS editor?
The file is here. Grateful for any help.
equation.pptx.zip (62.3 KB)
@oscarstar,
Thank you for posting the inquiry.
You can usually create a shape thumbnail like this:
var image = shape.getThumbnail(ShapeThumbnailBounds.Shape, 1f, 1f);
Documents: Create Shape Thumbnails
API Reference: IShape Interface
But I faced a wrong result for the OLE object from your presentation. So I’ve added a ticket with ID SLIDESJAVA-38750 to our issue tracking system. We apologize for any inconvenience. Our development team will investigate this case. You will be notified when the issue is resolved.
Unfortunately, I’ve found no way to extract the math equations from the OLE object. I also added a ticket with ID SLIDESJAVA-38751 to our issue tracking system. Our development team will consider implementing such a feature. We will inform you of any progress.
Documents: PowerPoint Math Equations
The issues you have found earlier (filed as SLIDESJAVA-38750) have been fixed in Aspose.Slides for Java 22.4 (ZIP).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.