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

Spire.Cloud 纯前端文档控件

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++) {…
Spire.Barcode for Java 3.9.3现已发布。该版本支持设置条码顶部文本的排列方式,同时也支持在条形码底部添加自定义文本。除此之外,一些在扫描条形码和QR码时出现的问题也得以成功解决。详情请查阅以下内容。 新功能: 支持设置条码顶部文本的排列方式。 int width = 399; int height = 159; BarcodeSettings bs = new BarcodeSettings(); bs.setType(BarCodeType.UPCA); bs.setUnit(GraphicsUnit.Pixel); bs.setWideNarrowRatio(0.5f); bs.setTextFont(new Font("Arial", Font.PLAIN,20 )); String data = "602318275035"; bs.setData(data); bs.setData2D(data); bs.setShowTextOnBottom(true); bs.setTopText(data); bs.setShowTopText(true); bs.setTextAlignment(StringAlignment.Center);…