We are excited to announce the release of Spire.Office 6.12.1. This version brings some new features, for example, Spire.PDF supports NET 6.0, as well as supports getting the PDF page where the attachment is located, also supports to adds the methods of decrypting PDFs Meanwhile, a lot of bugs have been successfully fixed. More details are listed as follow.
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 v9.12.3
- Spire.Pdf.dll v7.12.1
- Spire.XLS.dll v11.12.0
- Spire.Email.dll v4.12.1
- Spire.DocViewer.Forms.dll v6.8.0
- Spire.PdfViewer.Forms.dll v6.11.1
- Spire.PdfViewer.Asp.dll v6.11.1
- Spire.Presentation.dll v6.12.1
- Spire.Spreadsheet v5.10.0
- Spire.OfficeViewer.Forms.dll v6.12.1
- Spire.Barcode.dll v5.9.4
- Spire.DataExport.dll v4.1.9
- Spire.DataExport.ResourceMgr.dll v2.1.0
- Spire.License.dll v1.4.0
Click the link to get the version Spire.Office 6.12.1:
More information of Spire.Office new release or hotfix:
https://www.e-iceblue.com/forum/spire-office-new-release-or-hotfix-t4764.html
Spire.PDF
| Category | ID | Description |
| New feature | SPIREPDF-4762 | Supports .NET 6.0 |
| New feature | SPIREPDF-4577 | Adds the methods of decrypting PDFs.
pdf.Security.DecryptOwnerPassWord(string ownerPassword); pdf.Security.DecryptUserPassWord(); |
| New feature | SPIREPDF-4594 | Supports getting the PDF page where the attachment is located.
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 null or empty");
}
for (int i = 0; i < pageCollection.Count; i++)
{
PdfPageBase page = pageCollection[i];
for (int j = 0; j < page.AnnotationsWidget.Count; j++)
{
Spire.Pdf.Annotations.PdfFileLinkAnnotationWidget pdfFileLinkAnnotationWidget = page.AnnotationsWidget[j] as Spire.Pdf.Annotations.PdfFileLinkAnnotationWidget;
if (pdfFileLinkAnnotationWidget != null)
{
if (fileName.Equals(pdfFileLinkAnnotationWidget.FileName))
{
return i;
}
}
}
}
return -1;
}
|
| Bug | SPIREPDF-1683 SPIREPDF-4757 |
Fixes the issue that loading the PDF with the encrypted password failed |
| Bug | SPIREPDF-2412 | Fixes the issue that the content of the converted image was incorrect |
| Bug | SPIREPDF-4449 | Fixes the issue that the content of the converted XPS was incorrect |
| Bug | SPIREPDF-4578 | Fixes the issue that TIFF had a white background in the result PDF when drawing TIFF on PDF page on .NETCore platform |
| Bug | SPIREPDF-4667 | Fixes the issue that the content was inconsistent when converting XPS to PDF |
| Bug | SPIREPDF-4759 | Fixes the issue that the result PDF size became larger after deleting image |
| Bug | SPIREPDF-4766 | Fixes the issue that a blank section appeared on the right side of the converted OFD |
| Bug | SPIREPDF-4768 | Fixes the issue that the word containing the hyphen character was incorrect when converting PDF to SVG |
| Bug | SPIREPDF-4779 | Fixes the issue that the application threw System.NullReferenceException when converting PDF to images |
| Bug | SPIREPDF-4783 | Fixes the issue that the application threw System.NullReferenceException when printing PDF |
| Bug | SPIREPDF-4785 | Fixes the issue that setting text highlighting failed |
Spire.Doc
| Category | ID | Description |
| Bug | SPIREDOC-6791 | Fixes the issue that the content was incorrect when converting HTML to Docx |
| Bug | SPIREDOC-6875 | Fixes the issue that the application threw System.IndexOutOfRangeException when converting Word to PDF |
| Bug | SPIREDOC-6905 | Fixes the issue that the editable region disappeared when copying content to new Word file |
| Bug | SPIREDOC-6945 | Fixes the issue that the content disappeared when converting Word to PDF |
| Bug | SPIREDOC-6990 | Fixes the issue that the application threw System.NullReferenceException when converting Word to XPS on Windows10 |
| Bug | SPIREDOC-6998 | Fixes the issue that the width of table was incorrect when convertingg HTML to Word |
| Bug | SPIREDOC-7063 | Fixes the issue that the formula was not displayed correctly when convertingg HTML to Word |