- Code: Select all
Presentation ppt = new Presentation();
ppt.loadFromFile(@fileName);
ICHART chart= ((IChart)ppt.getSlides().get(0).getShapes().get(0));
int size = chart.getCategories().size()
这个 chart 的 Categories / Series 等属性都为null
Presentation ppt = new Presentation();
ppt.loadFromFile(@fileName);
ICHART chart= ((IChart)ppt.getSlides().get(0).getShapes().get(0));
int size = chart.getCategories().size()