zl程序教程

您现在的位置是:首页 >  后端

当前栏目

FIX:Spire.Office for .NET 7.12 upDATE-2022-12-23

Net for 2022 12 23 update Office SPIRE
2023-09-14 09:04:11 时间

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 7.12. In this version, Spire.PDF supports setting the form field's Show/Hide, adding custom metadata, and adding a namespace to PDF metadata; Spire.XLS supports .NET 7.0; Spire.Presentation fixes the issue that the content was lost after saving PowerPoint slide as Image. Besides, many known issues are fixed successfully in this version. More details are listed below.
Here is a list of changes made in this release
Spire.PDF
CategoryIDDescription
New featureSPIREPDF-2352Supprts setting form field's Show/Hide.
Spire.Pdf.Fields.PdfField field = formWidget.FieldsWidget.List[0] as Spire.Pdf.Fields.PdfField;
//field.AnnotationFlags = Spire.Pdf.Annotations.PdfAnnotationFlags.Default; // Setting visibility
field.AnnotationFlags = Spire.Pdf.Annotations.PdfAnnotationFlags.Hidden; // Setting hidden
New featureSPIREPDF-5495Supprts adding custom metadata.
using(PdfDocument doc = new PdfDocument("1.pdf"))
{
  using(Stream stream = new FileStream('1.xml',FileMode.Open))
 {
    doc.Metadata = PdfXmlMetadata.Parse(stream);
 }
  doc.SaveToFile('result.pdf');
}
New featureSPIREPDF-5506Supports adding namespace to PDF metadata.
PdfXmlMetadata.RegisterNamespace("http://myRandomNamespace", "zf");
using(PdfDocument doc = new PdfDocument("1.pdf"))
{
    doc.Metadata.SetPropertyString("http://myRandomNamespace", "test1","my test");
    doc.SaveToFile('result.pdf');
}
PdfXmlMetadata.ResetNamespaces();
BugSPIREPDF-5479Fixes the issue that setting the property options.IsShowHiddenText = false to not extract hidden text did not work.
BugSPIREPDF-5523Fixes the issue that the table's background color was incorrect after converting PDF to docx.
BugSPIREPDF-5597Fixes the issue that the replacement of special characters failed.
BugSPIREPDF-5615Fixes the issue that the selected button was not shown in the PDF-Xchanger editor.
BugSPIREPDF-5623Fixes the issue that finding text failed after drawing watermark.
BugSPIREPDF-5644Fixes the issue that the program threw an exception "Object reference not set to an instance of an object" when converting PDF to image.
Spire.Presentation
CategoryIDDescription
BugSPIREPPT-2109Fixes the issue that the content was lost after saving PowerPoint slide as Image.