Free Support Forum -

Aspose.Metafiles required with Office 2007 files?

We've just evaluted Aspose.Slides for Java for one of our projects to update a PPTX presentation with a webgraphic. I downloaded the trial and added the jar-file to Eclipse build path.

When trying to compile, I got a ClassDefNotFound Error for com.aspose.metafiles.

I also downloaded Aspose.Metafiles and added the jar-file and it worked.

So is it necessary to have both packages, Aspose.Slides and Aspose.Metafiles when working with Office 2007 files?

Kind regards,


Hi Eva,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your interest in Aspose.Slides.

Aspose.Metafiles for Java is used in PowerPoint presentations for adding WMF and EMF files in PPT/PPTX slides. Since, it supports conversion to different commercially available graphics formats, which is also needed by Aspose.Slides for Java.

You need to add Aspose.Metafiles in your project, if you are using the above mentioned features in your presentations. You don’t necessarily need this for all presentations.

Thanks and Regards,