Spire.Office 8.8.0 for net /Spire.Office java

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 8.8.0. In this version, Spire.Presentation adds a method for resetting the default font list for document conversion; Spire.PDF supports PDF documents text comparison function and retaining the same font name when converting PDF to Word; Spire.XLS supports setting the paper size to DIN A0 and grayscale printing. Besides, a lot of 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 v11.7.25
Spire.Pdf.dll v9.7.17
Spire.XLS.dll v13.8.0
Spire.Presentation.dll v8.7.4
Spire.Email.dll v6.6.0
Spire.DocViewer.Forms.dll v8.7.0
Spire.PdfViewer.Forms.dll v7.11.0
Spire.PdfViewer.Asp.dll v7.11.0
Spire.Spreadsheet.dll v7.4.2
Spire.OfficeViewer.Forms.dll v8.8.0
Spire.Barcode.dll v7.2.1
Spire.DataExport.dll v4.9.0
Spire.DataExport.ResourceMgr.dll v2.1.0
Here is a list of changes made in this release
Spire.PDF
Category ID Description
New feature SPIREPDF-3578 Supports retaining the same font name when converting PDF to Word.
PdfDocument doc = new PdfDocument();
//Add a new page
PdfPageBase page = doc.Pages.Add();
PdfGrid grid = new PdfGrid();
grid.Columns.Add(1);
PdfGridRow headerRow1 = grid.Headers.Add(1)[0];
//HEADER WITHOUT UNCICODE SUPPORT BUT VALID WORD FONT
headerRow1.Style.Font = new PdfTrueTypeFont(new Font("Arial", 11f, FontStyle.Regular), true);
headerRow1.Cells[0].Value = "Spire.PDF for .NET";
headerRow1.Cells[0].StringFormat = new PdfStringFormat(PdfTextAlignment.Center, PdfVerticalAlignment.Middle);
grid.Draw(page, new PointF(0, 10));
//Save the document to stream
MemoryStream stream = new MemoryStream();
doc.SaveToStream(stream, FileFormat.PDF);
stream.Position = 0L;
PdfToWordConverter converter = new PdfToWordConverter(stream);
converter.SaveToDocx(@"out.docx");
New feature SPIREPDF-4092 Supports setting encryption options with the new interface when encrypting PDF documents.
SPIREPDF-5734 PdfDocument doc = new PdfDocument();
  doc.LoadFromFile(@"in.pdf");           
  PdfSecurityPolicy securityPolicy = new PdfPasswordSecurityPolicy(userPassword, ownerPassword);
  securityPolicy.EncryptMetadata = false;
  securityPolicy.EncryptionAlgorithm = PdfEncryptionAlgorithm.AES_128;
  securityPolicy.DocumentPrivilege = PdfDocumentPrivilege.AllowAll;
  securityPolicy.DocumentPrivilege.AllowPrint = false;
  doc.Encrypt(securityPolicy);
  doc.SaveToFile(@"out.pdf");
New feature - Supports PDF documents text comparison function.
PdfDocument pdf1 = new PdfDocument(inputFile_1);
PdfDocument pdf2 = new PdfDocument(inputFile_2);
PdfComparer compare = new PdfComparer(pdf1, pdf2);
compare.Options.SetPageRanges(0, pdf1.Pages.Count - 1, 0, pdf2.Pages.Count - 1);
compare.Compare(outputFile);
Bug SPIREPDF-6113 Fixed the issue that it consumed excessive resource  when converting PDF to OFD.
Bug SPIREPDF-6129 Fixed the issue that the special European characters (ü, ä, ö) were displayed incorrectly when converting PDF to image and printing PDF files.
Bug SPIREPDF-6145 Fixed the issue that the program threw a null pointer exception when getting images.
Bug SPIREPDF-6155 Fixed the issue that there was an extra error message in the " Document Integrity Report. " after adding an invisible signature.
Bug SPIREPDF-6157 Fixed the issue that the program threw " System.Exception: Cannot create Graphics object from an image with an indexed pixel format " when extracting tables.
Bug SPIREPDF-2586 Fixes the issue that the content lost when converting PDF to image.
Bug SPIREPDF-6013 Fixes the issue that the table borders were thicker after printing PDF file.
Bug SPIREPDF-6057 Fixes the issue that it had prompt "cannot extract the embedded font" when opening the converted PDFA3B file.
Bug SPIREPDF-6072 Fixes the issue that the PDF page count obtained was incorrect when the file added an watermark.
Bug SPIREPDF-6080 Optimizes the memory consumption when converting PDF to image.
Bug SPIREPDF-6086 Fixes the issue that the application threw "System.NullReferenceException" when loading a PDF file.
Bug SPIREPDF-6088 Fixes the issue that the application threw "System.IndexOutOfRangeException" when loading a XPS file.
Bug SPIREPDF-6093 Fixes the issue that the result was black after converting PDF to image.
Bug SPIREPDF-6100 Fixes the issue that the application threw "System.NullReferenceException" when converting a PDF file to image.
Bug SPIREPDF-6126 Fixes the issue that the removing the Form field method didn't take effect.
Spire.Presentation
Category ID Description
New feature - Adds a method for resetting the default font list for document conversion.
presentation.setDefaultFontName("华文行楷");
New feature - Adds a method for setting the preferred font to be used when converting PDF or image files that require fonts not installed in the system.
presentation.resetDefaultFontName();
Bug SPIREPPT-2300 Fixes the issue that the charts were lost when converting PowerPoint documents to images.
Bug SPIREPPT-2302 Fixes the issue that the resulting file failed to open after manipulating chart data.
Bug SPIREPPT-2303 Fixes the issue that the program to throw "Spire.Presentation.DocumentUnkownFormatException" exception when loading PowerPoint documents.
Bug SPIREPPT-2304 Fixes the issue that modifying the text color of hyperlinks did not take effect.
Spire.XLS
Category ID Description
New feature SPIREXLS-288 Supports setting paper size to DIN A0.
sheet.PageSetup.PaperSize = PaperSizeType.PaperA0;
New feature SPIREXLS-4725 Supports grayscale printing.
workbook.ConverterSetting.GrayLevelForPrint = true;
New feature SPIREXLS-4778 Optimized performance for converting xlsx to HTML with long processing time and high memory consumption.
Bug SPIREXLS-722 Fixes the issue that the charts were missing when converting Excel to images.
Bug SPIREXLS-4012 Fixes the issue that the content was incorrect when converting shapes to images.
Bug SPIREXLS-4749 Fixes the issue that the application threw System.Security.Cryptography.CryptographicException: "Invalid algorithm specified" when performing digital signature.
Bug SPIREXLS-4768 Fixes the issue that involved failed font replacement.
Bug SPIREXLS-4772 Fixes the issue that the style changed after modifying text in a shape.
Bug SPIREXLS-4773 Fixes the issue that the borders were changed after setting number formats for multiple cells.
Bug SPIREXLS-4785 Fixes the issue that the week calculation was incorrect when converting Excel to PDF.
Bug SPIREXLS-4787 Fixes the issue that the PrstGeomShapes collection was not updated after removing shapes.
Bug SPIREXLS-4788 Fixes the issue that there was an extra top border in the converted Excel to PDF.
Bug SPIREXLS-4793 Fixes the issue that the conditional formatting for cells failed to retrieve.
Bug SPIREXLS-4795 Fixes the issue that the content was inconsistent when converting Excel to PDF.
Spire.Doc
Category ID Description
Bug SPIREDOC-7603 Fixes the issue that the header wrapped after converting Word to PDF.
Bug SPIREDOC-9190 Fixes the issue that hyperlinks were invalid after converting Word to PDF.
Bug SPIREDOC-9422 Fixes the issue that the content layout was wrong after converting Word to PDF.
Bug SPIREDOC-9471 Fixes the issue that updating the page number of the table of contents did not take effect.
Bug SPIREDOC-9463 Fixes the issue that the populated field value had extra "\r" at the end.
Bug SPIREDOC-9495 Fixes the issue that the populated values of mail merge fields were updated incorrectly.
Bug SPIREDOC-9515 Fixes the issue that formulas were displayed incorrectly after converting HTML to Word.
Bug SPIREDOC-9524 Fixes the issue that the content was lost after loading a document and saving it as a new document.
Bug SPIREDOC-9558 Fixes the issue that inequality signs were not correctly parsed after adding Latex formulas.
Bug SPIREDOC-9563 Fixes the issue that parallel symbols were not correctly parsed after adding Latex formulas.
Bug SPIREDOC-9564 Fixes the issue that vector symbols were not correctly positioned after adding Latex formulas.

猜你喜欢

转载自blog.csdn.net/john_dwh/article/details/132069234
今日推荐