Spire.Presentation for Java 3.3.5于今日发布。该版本包含了许多新功能,比如它支持GroupShape转图片,同时也支持设置文本高亮选项和动画播放重复类型。除此之外,一些在形状转换到图片及操作文档时出现的问题也得以成功解决。详情如下。 新功能: 支持转换一个GroupShape到图片。 Presentation ppt = new Presentation(); ppt.loadFromFile(input); for (int i = 0; i < ppt.getSlides().get(0).getShapes().getCount(); i++){ String fileName = outputPath + "shapeToImage_"+i+".png"; BufferedImage image = ppt.getSlides().get(0).getShapes().saveAsImage(i); ImageIO.write(image, "PNG", new File(fileName)); }…