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

Spire.Cloud 纯前端文档控件

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);…
Spire.Presentation 5.8.1已发布。该版本支持添加节、设置SmartArt节点轮廓线条样式和节点间的连接线条样式,并修复了将PPT转为PDF时出现的问题。新功能及问题修复详情如下。 新功能: 支持添加节 Presentation presentation = new Presentation(); presentation.LoadFromFile(pptfile); ISlide slide = presentation.Slides[0]; //添加节 presentation.SectionList.Add("section1", slide); //获取节 Section section; String name; for (int i = 0; i < presentation.SectionList.Count; i++) { section = presentation.SectionList[i]; name…