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

在线编辑/WebAPI

Spire.PDF 7.12.1已发布。该版本带来了一些新功能。新增了.NET 6.0以及解密PDF方法,支持了获取附件所在的PDF页面。还增强了PDF到OFD,PDF到图片,XPS到PDF的转换功能。此外还修复了删除PDF文件中的图片结果文档变大等已知问题。详情请阅读以下内容。 新功能: 新增.NET 6.0 新增了解密PDF方法 pdf.Security.DecryptOwnerPassWord(string ownerPassword); pdf.Security.DecryptUserPassWord(); 支持了获取附件所在的PDF页面 PdfDocument doc = new PdfDocument(); doc.LoadFromFile(input); int pageIndex = GetAttachmentPage(doc.Pages, attachmentName); private int GetAttachmentPage(Spire.Pdf.Widget.PdfPageCollection pageCollection, string fileName) { if (string.IsNullOrEmpty(fileName)) { throw new ArgumentException("fileName is…
Spire.PDF for Java 4.12.1已发布。该版本支持转换PDF为线性PDF,并且支持转换PDF到Excel单元格文本不换行的功能。另外还增强了PDF到OFD,PDF到PDFA的转换功能。此外还修复了压缩PDF图片后图片内容不正确等已知问题。详情请阅读以下内容。 新功能: 支持转换PDF为线性PDF PdfToLinearizedPdfConverter converter = new PdfToLinearizedPdfConverter(inputPath); converter.toLinearizedPdf(OutputPath); 支持转换PDF到Excel单元格文本不换行的功能 //第四个参数控制着是否让文本换行 doc.getConvertOptions().setPdfToXlsxOptions(new XlsxLineLayoutOptions(false, false, false, false)); 问题修复: 修复了拷贝页面内容时程序抛异常“java.lang.NullPointerException”的问题 修复了拷贝页面内容时程序抛异常“java.lang.ClassCastException”的问题 修复了转换到PDFA时抛出异常“java.lang.NullPointerException”的问题 修复了转换PDF到OFD流失败的问题 修复了压缩PDF图片后图片内容不正确的问题 修复了转换出的OFD文档页面中的右侧多出空白的问题 获取Spire.PDF for Java 4.12.1请点击: https://www.e-iceblue.cn/Downloads/Spire-PDF-JAVA.html
Spire.Doc for Java 4.12.1已发布。该版本带来了一些新功能,比如:支持转换Word到OFD格式,支持设置修订作者,支持在进行比较时设置“忽略格式”。此外还增强了Word到PDF的转换功能,并且修复了获取的列表文本不正确等已知问题。详情请阅读以下内容。 新功能: 支持转换Word到OFD格式 Document document = new Document(); document.loadFromFile("input.docx"); document.saveToFile("output.ofd", FileFormat.OFD); 支持设置修订作者 Document doc = new Document(); doc.loadFromFile(inputFile); doc.setTrackChanges(true); TextRange range = doc.getLastParagraph().appendText("123413"); range.getInsertRevision().setAuthor("user"); doc.saveToFile(outputFile); doc.dispose(); 支持在进行比较时设置“忽略格式” Document.compare(Document document, String author, CompareOptions options);…
Spire.Presentation for Java 4.11.7已发布。该版本支持添加数学公式和检测shape是否包含数学公式,并且增强了PPT到图片,PPT到PDF的转换功能,还修复了图表图例”是否重叠“属性设置不生效等已知问题。详情请阅读以下内容。 新功能: 支持添加数学公式和检测shape是否包含数学公式 Presentation ppt = new Presentation(); ppt.loadFromFile("input.pptx"); String latexMathCode = "x^{2}+\\sqrt{x^{2}+1}=2"; IAutoShape shape = ppt.getSlides().get(0).getShapes().appendShape(ShapeType.RECTANGLE, new Rectangle2D.Float(30, 100, 400, 30)); shape.getTextFrame().getParagraphs().clear(); //Add math equation ParagraphEx tp = shape.getTextFrame().getParagraphs().addParagraphFromLatexMathCode(latexMathCode);for (int i =…