Free Support Forum - aspose.com

Problem with class Name reading an OleObjectFrame

Hi Aspose Team !!!

Im trying to use this code
s.addOleObjectFrame(0,0,pres2.getSlideSize().x,
pres2.getSlideSize().y,“Excel.Sheet.8”, b);


this line generate this Exception:

Exception in thread main
java.lang.NoClassDefFoundError: javax.media.jai.RenderedImageAdapter

Im using Microsoft office 2003 and i need to know what is the class name for this version of office because this class name “Excel.Sheet.8” doesn’t work

thanks in advance



“Excel.Sheet.8” should work with any Excel versions 97-2003.

That is extract from README file about system requirements:

Required Software and Libraries
===============================
Note that you will have to install
- Java runtime 1.4 or above,
- JAI (Java Advanced Imaging API)
http://java.sun.com/products/java-media/jai/downloads/download-1_1_2_01.html
- JAI Image I/O
http://java.sun.com/products/java-media/jai/downloads/download-iio-1_0_01.html

thanks !!!