Hi,
There is a table on the first slide in the attached presentation. When I try to get some properties of that table, this exception occurs:
java.lang.ArrayIndexOutOfBoundsException: -1
Here's the code I use:
String presentationPath = "HDLawcc-ar-39.pptx";
InputStream inputStream = new FileInputStream(presentationPath);
Presentation presentation = new Presentation(inputStream);
inputStream.close();
ISlide slide = presentation.getSlides().get_Item(0);
ITable table = (ITable) slide.getShapes().get_Item(0);
System.out.println(table.getX());
Can you check this?
Thanks,
Zeljko