首页 > 其他分享 >Spire.Office 9.5.0 for .NET

Spire.Office 9.5.0 for .NET

时间:2024-05-31 16:57:46浏览次数:25  
标签:converting was after Spire PDF 9.5 NET issue

Spire.Office for .NET is a combination of Enterprise-Level Office .NET API offered by E-iceblue. It includes Spire.Doc, Spire.XLS, Spire.Spreadsheet, Spire.Presentation, Spire.PDF, Spire.DataExport, Spire.OfficeViewer, Spire.PDFViewer, Spire.DocViewer, Spire.Barcode and Spire.Email. Spire.Office contains the most up-to-date versions of the above .NET API.

 

With Spire.Office for .NET, developers can create a wide range of applications. It enables developers to open, create, modify, convert, print, View MS Word, Excel, PowerPoint and PDF documents. Furthermore, it allows users to export data to popular files such as MS Word/Excel/RTF/Access, PowerPoint, PDF, XPS, HTML, XML, Text, CSV, DBF, Clipboard, SYLK, PostScript, PCL, etc.

Spire.Office for .NET can be linked into any type of a 32-bit or 64-bit .NET application including ASP.NET, Web Services and WinForms for .NET Framework version 2.0 to 4.5. Spire.Office also supports to work on .NET Core, .NET 5.0, .NET 6.0, Microsoft Azure, Mono Android and Xamarin.iOS.

the release of Spire.Office 9.5.0. In this version, Spire.Doc supports converting Word to PDF while retaining form fields, Spire.XLS supports finding cells based on regular expressions, Spire.Presentation supports setting spacing between two columns. Meanwhile, tons of known issues have been fixed. More details are listed below.

In this version, the most recent versions of Spire.Doc, Spire.PDF, Spire.XLS, Spire.Presentation, Spire.Email, Spire.DocViewer, Spire.PDFViewer, Spire.Spreadsheet, Spire.OfficeViewer, Spire.DataExport, and Spire.Barcode are included.

DLL Versions:

  • Spire.Doc.dll v12.5.5.0
  • Spire.Pdf.dll v10.5.5.0
  • Spire.XLS.dll v14.5.3.0
  • Spire.Presentation.dll v9.5.3.0
  • Spire.Barcode.dll v7.2.9.0
  • Spire.Email.dll v6.5.10.0
  • Spire.DocViewer.Forms.dll v8.7.10.0
  • Spire.PdfViewer.Asp.dll v7.12.14.0
  • Spire.PdfViewer.Forms.dll v7.12.14.0
  • Spire.Spreadsheet.dll v7.4.6.0
  • Spire.OfficeViewer.Forms.dll v8.7.12.0
  • Spire.DataExport.dll 4.9.0.0
  • Spire.DataExport.ResourceMgr.dll v2.1.0

Here is a list of changes made in this release

Spire.Doc

CategoryIDDescription
New feature-Supports preserving FormField (CheckBox, DropDown, TextFormField) and SDT (CheckBox, Text, RichText, DropDownList, ComboBox) data when converting Word to PDF.
ToPdfParameterList.PreserveFormFields = true;
New feature-Supports setting three display modes for comments (Hide, ShowInBalloons, ShowInAnnotations) when converting Word to PDF.
Document.LayoutOptions.CommentDisplayMode = CommentDisplayMode.ShowInAnnotations;
BugSPIREDOC-10152Fixes the issue that the table widths and fonts are not correct when converting HTML to Word.
BugSPIREDOC-10363Fixes the issue that the program threw "ArgumentOutOfRangeException" when loading Word documents.
BugSPIREDOC-10371Fixes the issue that headings were missing after converting Word to HTML.
BugSPIREDOC-10376Fixes the issue that table borders were missing after converting Word to HTML.
BugSPIREDOC-10402Fixes the issue that tables were missing when converting Word to HTML.
BugSPIREDOC-10421Fixes the issue that the program threw "InvalidCastException" exception when comparing Word documents.
BugSPIREDOC-10427Fixes the issue that the header was lost after adding a watermark to Word and saving it to PDF.

Spire.PDF

CategoryIDDescription
BugSPIREPDF-6045Fixes the issue that the content was blurred when printing PDFs.
BugSPIREPDF-6529Fixes the issue that the content was lost after replacing text.
BugSPIREPDF-6654Fixes the issue that specific Chinese characters could not be drawn successfully.
BugSPIREPDF-6655Fixes the issue that the background turned black after converting PDF to pictures.
BugSPIREPDF-6657Fixes the issue that the standard validation failed after converting PDF to PDFA3A.
BugSPIREPDF-6658Fixes the issue that some pages became blank after converting PDF to XPS and then converting it to PDF.
BugSPIREPDF-6681Fixes the issue that the program threw System.NullReferenceException when converting OFD to PDF.
BugSPIREPDF-6687Fixes the issue that the added signature was not visible in the signature menu bar on the left side.
BugSPIREPDF-6697Fixes the issue that the content formatting was not correct after converting PDF to PowerPoint.
BugSPIREPDF-6701Fixes the issue that the background color was incorrect after converting XPS to SVG.
BugSPIREPDF-6707Fixes the issue that text replacement was incorrect.
BugSPIREPDF-6714Fixes the issue that the content was lost after converting OFD to PDF.
BugSPIREPDF-6715Fixes the issue that replacing text that crosses lines was incorrect.
BugSPIREPDF-6727Fixes the issue that the program threw FileNotFoundException when converting OFD to PDF.
BugSPIREPDF-6733Fixes the issue that the program threw InvalidOperationException when converting PDF to OFD in multiple threads.
BugSPIREPDF-6734Fixes the issue that the color of stamps was not correct after converting OFD to PDF.
BugSPIREPDF-6735Fixes the issue that replacing Chinese characters did not succeed.

Spire.XLS

CategoryIDDescription
New featureSPIREXLS-5128Supports adding images to the first page header and footer.
//Load image
System.Drawing.Image bufferedImage = System.Drawing.Image.FromFile(inputFile_Img);

//Set image on first page header and footer
wb.Worksheets[0].PageSetup.FirstLeftHeaderImage = bufferedImage;
wb.Worksheets[0].PageSetup.FirstLeftFooterImage = bufferedImage;
wb.Worksheets[1].PageSetup.FirstCenterHeaderImage = bufferedImage;
wb.Worksheets[1].PageSetup.FirstCenterFooterImage = bufferedImage;
wb.Worksheets[2].PageSetup.FirstRightHeaderImage = bufferedImage;
wb.Worksheets[2].PageSetup.FirstRightFooterImage = bufferedImage;
New featureSPIREXLS-5195Supports obtaining active selection range.
Worksheet worksheet = workbook.Worksheets[0];
string Information = null;
foreach (CellRange range in worksheet.ActiveSelectionRange)
{
Information += "RangeAddressLocal:"+ range.RangeAddressLocal+"\r\n";
Information += "ColumnCount:" + range.ColumnCount + "\r\n";
Information += "ColumnWidth:" + range.ColumnWidth + "\r\n";
Information += "Column:" + range.Column + "\r\n";
Information += "RowCount:" + range.RowCount+ "\r\n";
Information += "RowHeight:" + range.RowHeight + "\r\n";
Information += "Row:" + range.Row + "\r\n";
}
File.WriteAllText(outputFile_TXT,Information);
New featureSPIREXLS-5200Supports finding cells based on regular expressions.
CellRange[] ranges = sheet.FindAllString(".*test.", false, false, true);
BugSPIREXLS-5075Fixes the issue that the image was lost after converting Excel to image.
BugSPIREXLS-5151Fixes the issue that the content in the generated PDF document was lost after converting Excel to PDF on the Kirin system.
BugSPIREXLS-5186Fixes the issue that the application threw the "System.NullPointerException" when converting sheet to image.
BugSPIREXLS-5197Fixes the issue that the border obtained from merged area was incorrect.
BugSPIREXLS-5198Fixes the issue that the text and alternative text obtained from checkboxes were incorrect.
BugSPIREXLS-5214Fixes the issue that it failed to set the active cell using the SetActiveCell() method.
BugSPIREXLS-5216Fixes the issue that the textboxes added to charts were not displayed.
BugSPIREXLS-5218Fixes the issue that the name obtained from checkbox was incorrect.
BugSPIREXLS-5225Fixes the issue that the mouse cursor position was incorrect after importing data into Excel using the InsertDataTable() method.
BugSPIREXLS-5228Fixes the issue that some graphics and lines were lost after converting Excel document to PDF document.
BugSPIREXLS-5234Fixes the issue that it failed to autofit columns using the AutoFitCoumns() method.

Spire.Presentation

CategoryIDDescription
New featureSPIREPPT-2497Adds the ColumnSpacing property to set the spacing between columns.
//The unit is point
shape.TextFrame.ColumnSpacing = 20.50f;
BugSPIREPPT-2493Fixes the issue that the application threw the "System.ArgumentException" when appending images to presentations.
BugSPIREPPT-2498Fixes the issue that the shape was in opposite direction after converting PPTX to SVG.
BugSPIREPPT-2500Fixes the issue that the gradient color of the shape was incorrect after converting PPTX to SVG.

标签:converting,was,after,Spire,PDF,9.5,NET,issue
From: https://blog.csdn.net/john_dwh/article/details/139332030

相关文章

  • 滴滴面试:谈谈你对Netty线程模型的理解?
    Netty线程模型是指Netty框架为了提供高性能、高并发的网络通信,而设计的管理和利用线程的策略和机制。Netty线程模型被称为Reactor(响应式)模型/模式,它是基于NIO多路复用模型的一种升级,它的核心思想是将IO事件和业务处理进行分离,使用一个或多个线程来执行任务的一种机制。......
  • .NET 6 Entity Framework Core Db First(2) 增删改查
    基础代码在Program.cs注入DemoContext新建HomeController,继承ControllerBase添加Controller特性,[ApiController] [Route("[controller]/{action=index}")]通过构造函数获取数据库上下文实例(DemoContext) 接口地址为了方便测试,这里全部使用了HttpGet,也不需要传参数1、......
  • Aspire项目发布到win11本地k8s集群
    前提你必须会创建aspire项目,不会的请先看微服务新体验之Aspire初体验Aspirate(Aspir8)Aspirate是将aspire项目发布到k8s集群的工具安装aspiratedotnettoolinstall-gaspirateaspirate初始化切换到AppHost项目目录aspirateinit生成k8s配置文件aspirategenerat......
  • ansible部署kubernetes(1.30)
    ansible部署kubernetes(1.30)操作系统使用的是ubuntu24.04,ansible使用rocky9.21.规划节点角色配置地址domainname备注master-012c,2g10.10.50.11k8s.master01.example.comnode-012c,10g10.10.50.14k8s.node01.example.comnode-022c,10g10.10.50.15k8s.node02.example.comn......
  • 记一次 .NET某工业设计软件 崩溃分析
    一:背景1.讲故事前些天有位朋友找到我,说他的软件在客户那边不知道什么原因崩掉了,从windows事件日志看崩溃在clr里,让我能否帮忙定位下,dump也抓到了,既然dump有了,接下来就上windbg分析吧。二:WinDbg分析1.为什么崩溃在clr一般来说崩溃在clr里都不是什么好事情,这预示着cl......
  • 用.NET代码生成JSON Schema 验证器
    问题对于验证复杂JSON数据是否合法的需求,通常的解决方式是标准JSONSchema,.Net下有对应的JSONSchema实现库。应用程序通常需要将标准JSONschema传入实现库,来做后续的数据验证。这里有一种情况,就是如果使用者不太了解标准JSONSchema格式,但又希望能在自己的service中使用其强大......
  • 美团多场景多任务学习论文《HiNet: Novel Multi-Scenario & Multi-Task Learning with
    模型结构模型主要包含场景抽取层和任务抽取层(上图A):场景抽取层场景抽取层主要包括了场景共享专家(Scenario-sharedexpert)模块、当前场景特有专家(Scenario-specificexpert)模块以及场景感知注意力网络,通过这三部分的信息抽取,最终形成了场景层次的信息表征场景共享专家就是一......
  • WinForm+SQL Server+.NET开发菜鸟驿站管理系统
    完整效果请看哔哩哔哩......
  • Kubernetes ExternalName类型的服务
    1、概述在《KubernetesHeadless服务》这篇博文中对KubenertesService资源类型进行了概述并详细介绍了Headless服务,通过这篇博文我们可以知道Service一般分为3种类型:ClusterIP、NodePort、LoadBalancer,唯独对ExternalName置若罔闻,本文将详细介绍KubernetesExternalName类......
  • QShop商城-快速开始-Linux使用宝塔面板发布.Net6/7
    QShop商城-快速开始-Linux使用宝塔面板发布.Net6/7QShop商城-项目介绍        QShop商城,是全新推出的一款轻量级、高性能、前后端分离的多店铺电商系统,支持微信小程序,前后端源码100%开源,完美支持二次开发,让您快速搭建个性化独立商城。技术架构:.Net6/7、WebAPI、Swag......