We are glad to announce 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.
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, Spire.Barcode are included.
DLL Versions:
- Spire.Doc.dll v10.12.0
- Spire.Pdf.dll v8.12.5
- Spire.XLS.dll v12.12.1
- Spire.Presentation.dll v7.11.2
- Spire.Barcode.dll v6.12.1
- Spire.Email.dll v5.12.13
- Spire.Barcode.dll v6.12.1
- Spire.Spreadsheet.dll v6.12.0
- Spire.PdfViewer.Asp.dll v7.10.0
- Spire.PdfViewer.Forms.dll v7.10.0
- Spire.DocViewer.Forms.dll v7.10.0
- Spire.OfficeViewer.Forms.dll v7.12.4
- Spire.DataExport.dll v4.8.0
Click the link to get the version Spire.Office 7.12:
More information of Spire.Office new release or hotfix:
Here is a list of changes made in this release
Spire.PDF
| Category | ID | Description |
| New feature | SPIREPDF-2352 | Supprts 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 feature | SPIREPDF-5495 | Supprts 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 feature | SPIREPDF-5506 | Supports 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();
|
| Bug | SPIREPDF-5479 | Fixes the issue that setting the property options.IsShowHiddenText = false to not extract hidden text did not work. |
| Bug | SPIREPDF-5523 | Fixes the issue that the table's background color was incorrect after converting PDF to docx. |
| Bug | SPIREPDF-5597 | Fixes the issue that the replacement of special characters failed. |
| Bug | SPIREPDF-5615 | Fixes the issue that the selected button was not shown in the PDF-Xchanger editor. |
| Bug | SPIREPDF-5623 | Fixes the issue that finding text failed after drawing watermark. |
| Bug | SPIREPDF-5644 | Fixes 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
| Category | ID | Description |
| Bug | SPIREPPT-2109 | Fixes the issue that the content was lost after saving PowerPoint slide as Image. |