Spire.Presentation | 新闻
|
028-81705109
|
|
微信扫一扫
|

在线编辑/WebAPI

Spire. Presentation 5.9.5现已发布。该版本支持对组合图形取消组合和GroupShapes方法返回GroupShape对象,并新增了GetPlaceholderShapes方法来通过占位符获取幻灯片母版版式中的形状的功能。此外,该版本还修复了转换加载PPTX文档,拷贝幻灯片等情况时出现的问题。详情请阅读以下内容。 新功能: 支持对组合图形取消组合。 GroupShape groupShape = presentation.Slides[0].Shapes[0] as GroupShape; presentation.Slides[0].Ungroup(groupShape); 新增GetPlaceholderShapes方法来通过占位符获取幻灯片母版版式中的形状。 Placeholder placeholder = presentation.Slides[1].Shapes[0].Placeholder; IShape[] shapes = presentation.Slides[1].GetPlaceholderShapes(placeholder); for (int i = 0; i < shapes.Length; i++) { if (shapes[i] is IAutoShape) {…
Spire.Presentation for Java 3.9.6现已发布。该版本支持获取动画的效果,同时也修复了.ppt转pdf时出现的问题。详情如下。 新功能: 支持获取动画的效果。 Presentation presentation = new Presentation(); presentation.loadFromFile("data/animation.pptx"); for (int c = 0; c < presentation.getSlides().getCount(); c++) { ISlide slide = presentation.getSlides().get(c); for (int i = 0; i < slide.getTimeline().getMainSequence().getCount(); i++) {…
Spire.Presentation 5.8.5已于今日发布。该版本新增了Insert和Append方法用于添加节,同时也支持为节添加、移动、删除幻灯片,以及获取节的索引和删除节。除此之外,一些在转换PPT到PDF、加载、操作文档时出现的问题也得以成功解决。详情见下文。 新功能: 新增Insert和Append方法用于添加节。 Section sect01 = ppt.SectionList.Insert(0, "section1"); Section sect02 = ppt.SectionList.Append("section2"); 支持为节添加、移动和删除幻灯片。 ISlide slide01 = ppt.Slides.Append(); ISlide slide02 = ppt.Slides.Append(); Section section01 = ppt.SectionList.Add("section1", slide01); Section section02 = ppt.SectionList.Insert(1, "section2"); Section section03 = ppt.SectionList.Append("section3");…
Spire.Presentation for Java 3.8.6于今日发布。该版本支持更新PPT文档中的Video视频数据, 同时支持获取Audio和Video的PartName属性及强调类型动画的Amount属性。除此之外,它还修复了一些PPT转PDF、获取/设置动画、保存文档时出现的问题。具体新功能及问题修复参见下文。 新功能: 支持更新PPT文档中的Video视频数据。 File file = new File("videoPath"); FileInputStream fileInputStream = new FileInputStream(file); byte[] data = new byte[(int)file.length()]; fileInputStream.read(data); VideoCollection videos = presentation.getVideos(); VideoData videoData = videos.append(data); IVideo iVideo = (IVideo) presentation.getSlides().get(0).getShapes().get(0);…