新闻中心 | 新版本发布、优惠信息、促销活动和产品资讯等
|
028-81705109
|
|
微信扫一扫
|

在线编辑/WebAPI

Spire.XLS 3.9.3 for Java已发布。该版本增加了新的方法以支持将一个Excel文档转换为TIFF文件,同时在转换Excel到Image时支持了设置dpi的功能。 此外,该版本修复了大量转换时出现的问题。详情请阅读以下。 新功能: 新增方法workbook.saveToTiff(String filename)支持转换Excel到一个tiff文件。 转换excel到image时支持了设置dpi。 workbook.getConverterSetting().setXDpi(300); workbook.getConverterSetting().setYDpi(300); Worksheet sheet; for (int i = 0; i < wb.getWorksheets().size(); i++) { sheet = wb.getWorksheets().get(i); sheet.saveToImage(outputFile + i + ".png"); } 问题修复: 优化了转换Excel到html的时间性能。 修复了转换excel到pdf时抛出异常NumberFormatException的问题。 修复了转换excel到图片时抛异常Size…
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.PDF 3.9.6 for Java现已发布。该版本支持转换SVG到PDF,添加SVG图片到PDF文档中,以及以流式布局转换PDF到Word的功能,并且修复了绘制字形和提取文本乱码的问题。 新功能: 支持转换SVG到PDF。 PdfDocument doc = new PdfDocument(); doc.loadFromSvg(inputFile_svg); doc.saveToFile(outputFile); 支持添加SVG图片到PDF文档中。 PdfDocument doc1 = new PdfDocument(); doc1.loadFromSvg(inputFile_svg); PdfDocument doc2 = new PdfDocument(); doc2.loadFromFile(inputFile_pdf); doc2.getPages().get(0).getCanvas().drawTemplate(doc1.getPages().get(0).createTemplate(), new Point2D.Float(10,10), new Dimension(100,100) ); doc2.saveToFile(outputFile, FileFormat.PDF); doc1.close(); doc2.close();…
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++) {…