Wednesday, 21 June 2023 10:28

Spire.Office for C++ 8.6.0 is released

We are excited to announce the release of Spire.Office for C++ 8.6.0. In this version, Spire.Doc for C++, Spire.XLS for C++, Spire.Presentation for C++, and Spire.PDF for C++ fix the issue that the application threw exception while applying license to a program that used two or more of the C++ products and loaded files with stream. More details are listed below.

Click the link to download Spire.Office for C++ 8.6.0:

Here are the changes made in this release

Spire.Doc for C++, Spire.XLS for C++, Spire.Presentation for C++, and Spire.PDF for C++ fix the issue that the application threw exception while applying license to a program that used two or more of the C++ products and loaded files with stream.

We are excited to announce the release of Spire.Doc 11.6.1. This version enhances the conversion from Word to PDF and HTML. Besides, many known issues are fixed in this version, such as the issue that updating mail merge fields failed. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Bug SPIREDOC-9031 Fixes the issue that he obtained value of the text field containing the return mark is incorrect.
Bug SPIREDOC-9285 Fixes the issue that System.ArgumentException exception was thrown during document comparison.
Bug SPIREDOC-9339 Fixes the issue that System.ArgumentException exception was thrown during Word to HTML conversion.
Bug SPIREDOC-9365 Fixes the issue that updating mail merge fields failed.
Bug SPIREDOC-9379 Fixes the issue that replacing text that ends with a number by setting the wholeWord parameter to true does not work.
Bug SPIREDOC-9396 Fixes the issue that there was inconsistent text alignment in some parts of the document after converting Word to PDF.
Bug SPIREDOC-9430 Fixes the issue that symbol position shifted upwards after converting Word to PDF.
Click the link to download Spire.Doc 11.6.1:
More information of Spire.Doc new release or hotfix:

We are excited to announce the release of Spire.XLS for Java 13.6.0. This version enhances the conversion from Excel to PDF and images. Additionally, some known issues are fixed, such as the issue that the horizontal coordinate of the chart changed after adding an image watermark. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Bug SPIREXLS-4611 Fixes the issue that the font effects were inconsistent when converting Excel to images.
Bug SPIREXLS-4639 Fixes the issue that the superscript and subscript format was lost when converting Excel to images.
Bug SPIREXLS-4642 Fixes the issue that the horizontal coordinate of the chart changed after adding an image watermark.
Bug SPIREXLS-4650 Fixes the issue that the program hangs when loading Excel documents.
Bug SPIREXLS-4669 Fixes the issue that setting the background color of the pivot table column name field failed.
Bug SPIREXLS-4671 Fixes the issue that the document data lost after adding an image watermark.
Bug SPIREXLS-4679 Fixes the issue that the memory overflow exception was thrown when converting Excel to PDF.
Bug SPIREXLS-4680 Fixes the issue that the decimal place retention in numeric charts was inconsistent when converting them to images.
Bug SPIREXLS-4682 Fixes the issue that the program threw java.lang.ClassCastException exception when loading an Excel document.
Bug SPIREXLS-4685 Fixes the issue that the result file failed to open after adding the LOG function.
Bug SPIREXLS-4687 Fixes the issue that the style changed when loading and saving an et format file.
Bug SPIREXLS-4688 Fixes the issue that the chart coordinate axis format changed when loading and saving an et format file.
Bug SPIREXLS-4736 Fixes the issue that the program threw java.lang.ClassFormatError exception when converting Excel to PDF.
Click the link to download Spire.XLS for Java 13.6.0:

We are glad to announce the release of Spire.Presentation 7.12.1. This version fixes the issue that the content was lost after saving PowerPoint slide as Image. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Bug SPIREPPT-2109 Fixes the issue that the content was lost after saving PowerPoint slide as Image.
Click the link below to download Spire.Presentation 7.12.1
More information of Spire.Presentation new release or hotfix:

We are happy to announce the release of Spire.PDF for Java 8.12.6. This version supports creating tagged PDF files. This release also includes performance optimization, such as the optimization in the time consumption of extracting images and compressing PDF files. Besides, some know issues are successfully fixed. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature - Supports creating tagged PDF files.
//Create a pdf document
PdfDocument doc = new PdfDocument();
//Add page
doc.getPages().add();
//Set tab order
doc.getPages().get(0).setTabOrder(TabOrder.Structure);
//Create PdfTaggedContent
PdfTaggedContent taggedContent = new PdfTaggedContent(doc);
taggedContent.setLanguage("en-US");
taggedContent.setTitle("test");
//Set font
PdfTrueTypeFont font = new PdfTrueTypeFont(new Font("Times New Roman",Font.PLAIN,12), true);
PdfSolidBrush brush = new PdfSolidBrush(new PdfRGBColor(Color.black));
//Append elements
PdfStructureElement article = taggedContent.getStructureTreeRoot().appendChildElement(PdfStandardStructTypes.Document);
PdfStructureElement paragraph1 = article.appendChildElement(PdfStandardStructTypes.Paragraph);
PdfStructureElement span1 = paragraph1.appendChildElement(PdfStandardStructTypes.Span);
span1.beginMarkedContent(doc.getPages().get(0));
PdfStringFormat format = new PdfStringFormat(PdfTextAlignment.Justify);
doc.getPages().get(0).getCanvas().drawString("Spire.PDF for .NET is a professional PDF API applied to creating, writing, editing, handling and reading PDF files.",
font, brush, new Rectangle(40, 0, 480, 80), format);
span1.endMarkedContent(doc.getPages().get(0));
PdfStructureElement paragraph2 = article.appendChildElement(PdfStandardStructTypes.Paragraph);
paragraph2.beginMarkedContent(doc.getPages().get(0));
doc.getPages().get(0).getCanvas().drawString("Spire.PDF for .NET can be applied to easily convert Text, Image, SVG, HTML to PDF and convert PDF to Excel with C#/VB.NET in high quality.",
font, brush, new Rectangle(40, 80, 480, 60), format);
paragraph2.endMarkedContent(doc.getPages().get(0));
PdfStructureElement figure1 = article.appendChildElement(PdfStandardStructTypes.Figure);
//Set Alternate text
figure1.setAlt("replacement text1");
figure1.beginMarkedContent(doc.getPages().get(0), null);
PdfImage image = PdfImage.fromFile("E-logo.png");
Dimension2D dimension2D = new Dimension();
dimension2D.setSize( 100,100);
doc.getPages().get(0).getCanvas().drawImage(image, new Point2D.Float(40, 200),dimension2D);
figure1.endMarkedContent(doc.getPages().get(0));
PdfStructureElement figure2 = article.appendChildElement(PdfStandardStructTypes.Figure);
//Set Alternate text
figure2.setAlt( "replacement text2");
figure2.beginMarkedContent(doc.getPages().get(0), null);
doc.getPages().get(0).getCanvas().drawRectangle(PdfPens.getBlack(), new Rectangle(300, 200, 100, 100));
figure2.endMarkedContent(doc.getPages().get(0));

//Save to file
String result = "CreateTaggedFile_result.pdf";
doc.saveToFile(result);
doc.close();
Bug SPIREPDF-4806 Optimizes the time consumption of extracting images.
Bug SPIREPDF-4856 Optimizes the memory consumption of compressing document images.
Bug SPIREPDF-4860
SPIREPDF-5583
Fixes the issue that the application hanged for a long time when loading a PDF file.
Bug SPIREPDF-4955 Optimizes the time consumption of compressing PDF file.
Bug SPIREPDF-5496 Fixes the issue that the application threw "No 'TimesNewRoman' font found" when defining the CustomFontsFolders to convert PDF to Excel.
Bug SPIREPDF-5622 Fixes the issue that the borders had different thickness when drawing table with PdfGrid.
Bug SPIREPDF-5641 Fixes the issue that the grid cell content displayed incorrectly when drawing on different position.
Bug SPIREPDF-5646 Fixes the issue that the application threw "Unexpected token Unknown before 105" when merging PDF files.
Click the link below to download Spire.PDF for Java 8.12.6:

We are glad to announce the release of Spire.Doc for Java 10.12.4. This version enhances the conversion from Word to PDF. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Bug SPIREDOC-8790 Fixes the issue that the table format was incorrect when converting Word to PDF.
Bug SPIREDOC-8791 Fixes the issue that the table lost when converting Word to PDF.
Click the link to download Spire.Doc for Java 10.12.4:
Wednesday, 17 August 2022 10:07

Spire.Office 7.8.4 is released

We are excited to announce the release of Spire.Office 7.8.4. In this release, Spire.XLS supports getting the CurrentRegion of cell; Spire.Presentation enhances the conversion from PowerPoint to PDF; Spire.PDF enhances the conversion from PDF to SVG and images and OFD to PDF. Moreover, a number of known issues are fixed successfully. 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.8.3
  • Spire.Pdf.dll v8.8.6
  • Spire.XLS.dll v12.8.0
  • Spire.Email.dll v5.6.0
  • Spire.DocViewer.Forms.dll v7.8.0
  • Spire.PdfViewer.Forms.dll v7.8.0
  • Spire.PdfViewer.Asp.dll v7.8.0
  • Spire.Presentation.dll v7.8.0
  • Spire.Spreadsheet.dll v6.6.1
  • Spire.OfficeViewer.Forms.dll v7.8.4
  • Spire.Barcode.dll v6.7.0
  • Spire.DataExport.dll v4.5.0
  • Spire.DataExport.ResourceMgr.dll v2.1.0
Click the link to get the version Spire.Office 7.8.4:
More information of Spire.Office new release or hotfix:

Here is a list of changes made in this release

Spire.PDF

Category ID Description
Bug SPIREPDF-572 Fixes the issue of incorrect padding of domain values.
Bug SPIREPDF-5279 Fixes the issue that the application throws "System.ArgumentException: invalid color operands in instruction" in PDF grayscale conversion in Russian environment.
Bug SPIREPDF-5304 Fixes the issue of overlapping text content after converting PDF to SVG.
Bug SPIREPDF-5338 Fixes garbled text after replacing fonts.
Bug SPIREPDF-5342
SPIREPDF-5368
Fixes the issue that the converted PDF/A3A documents was not standards-compliant.
Bug SPIREPDF-5356 Fixes the issue that file corrupted after grayscale conversion.
Bug SPIREPDF-5359 Fixes the issue that the content format was incorrect after converting PDF to images.
Bug SPIREPDF-5376 Fixes the issue that the content was lost after converting PDF to images.
Bug SPIREPDF-5381 Fixes the issue that the application throws System.IO.FileNotFoundException when OFD file is converted to PDF.
Bug SPIREPDF-5383 Fixes the issue that the application throws System.ArgumentException when filling form fields.

Spire.XLS

Category ID Description
New feature SPIREXLS-1483 Supports getting the CurrentRegion of cell.
sheet.Range["A1"].CurrentRegion;
Bug SPIREXLS-3898 Fixes the issue that the repeated labels of pivot table lost after converting Excel to PDF.
Bug SPIREXLS-3973 Fixes the issue that the image in Excel was replaced after saving.
Bug SPIREXLS-3974 Fixes the issue that the content in Hebrew language was not displayed correctly after converting Xltx to PDF.
Bug SPIREXLS-3981 Fixes the issue that some contents lost after converting Excel to PDF
Bug SPIREXLS-3982 Fixes the issue that the content was overlapped after converting Excel to PDF.
Bug SPIREXLS-3985
SPIREXLS-4032
Fixes the issue that after saving Excel, the Microsoft Excel prompted that the content has error when opening.
Bug SPIREXLS-4006 Fixes the issue that the arrow lost after converting Excel to HTML.
Bug SPIREXLS-4007 Fixes the issue that the formula lost after converting XLS to XLSX.
Bug SPIREXLS-4019 Fixes the issue that caused incorrect format after converting chart to image.
Bug SPIREXLS-4021 Fixes the issue that the application threw the "ArgumentOutOfRangeException" when getting the RtfText of cell.
Bug SPIREXLS-4031 Fixes the issue that the application threw the "Specified argument was out of the range of valid values" when converting Excel to PDF.
Bug SPIREXLS-4034 Fixes the issue that the application threw the "Invalid autoFilter element" when loading Excel.

Spire.Presentation

Category ID Description
Bug SPIREPPT-1992 Fixes the issue that the application threw the "DocumentEditException" exception when copying slide.
Bug SPIREPPT-1997 Fixes the issue that caused incorrect content format after converting PPT to PDF.
Bug SPIREPPT-2001 Fixes the issue that after changing the DataLabelRanges of chart, the saved document prompted an error when opening.
Bug SPIREPPT-2019 Fixes the issue that after setting the TextLineFormat of chart, the saved document prompted an error when opening.
Bug SPIREPPT-2027 Fixes the issue that the data couldn’t be updated automatically after changing the data source of chart.

We are excited to announce the release of Spire.Presentation 7.8.2 for Java. This version supports setting the time of advancing slide and determining whether the document is encrypted. Besides, it also enhances the conversion from PowerPoint to HTML and PDF. What’s more, some known issues are successfully fixed, such as the issue that the selection state of “Advance Slide" was incorrect after splitting PowerPoint file. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPPT-2014 Supports setting the time of advancing Slide. Note: 03 format is not currently supported.
Presentation ppt = new Presentation();
ppt.loadFromFile(inputFile);
for(int i=0;i<ppt.getSlides().getCount();i++)
{ ppt.getSlides().get(i).getSlideShowTransition().isAdvanceAfterTime(true);
//设置自动换片时间,isAdvanceAfterTime设置为TRUE才生效
ppt.getSlides().get(i).getSlideShowTransition().setAdvanceAfterTime(5000L);
}
ppt.saveToFile(outputFile,FileFormat.AUTO);
New feature SPIREPPT-1995 Provides the method isSlideSizeAutoFit() to fit content to the slide size when cloning slides. Note: currently only 4:3->16:9 is supported.
Presentation presentation1 =new Presentation();
presentation1.loadFromFile(inputFile_1);
Presentation presentation2 =new Presentation();
presentation2.loadFromFile(inputFile_2);
presentation1.isSlideSizeAutoFit(true);
ILayout layout = presentation1.getSlides().get(0).getLayout();
presentation1.getSlides().append(presentation2.getSlides().get(0),layout);
presentation1.saveToFile(outputFile, FileFormat.PPTX_2013);
New feature SPIREPPT-2032 Supports determining whether the document is encrypted.
ppt.isPasswordProtected(filepath)
ppt.isPasswordProtected(inputstream)
Bug SPIREPPT-2011 Fixes the issue that the application threw the “java.lang.ClassCastException" when converting PPT to HTML.
Bug SPIREPPT-2013 Fixes the issue that the selection state of “Advance Slide" was incorrect after spliting PPT file.
Bug SPIREPPT-2018 Fixes the issue that the application threw the "ArrayIndexOutOfBoundsException" when loading PPT.
Bug SPIREPPT-2030 Fixes the issue that after saving the slide to PPT, the Microsoft PowerPoint prompted that the content has error when opening the saved PPT.
Bug SPIREPPT-2031 Fixes the issue that the application threw an exception when loading PPT.
Bug SPIREPPT-2033 Fixes the issue that the content formatting was incorrect after converting PPT to PDF.
Click the link below to download Spire.Presentation for Java 7.8.2:

We are happy to announce the release of Spire.PDF 8.8.6. This version enhances the conversion from PDF to SVG as well as images and OFD to PDF. Besides, some known issues are fixed, such as the issue that converted PDF/A3A documents were not standards-compliant and the issue that file corrupted after grayscale conversion. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Bug SPIREPDF-572 Fixes the issue of incorrect padding of domain values.
Bug SPIREPDF-5279 Fixes the issue that the application throws "System.ArgumentException: invalid color operands in instruction" in PDF grayscale conversion in Russian environment.
Bug SPIREPDF-5304 Fixes the issue of overlapping text content after converting PDF to SVG.
Bug SPIREPDF-5338 Fixes garbled text after replacing fonts.
Bug SPIREPDF-5342
SPIREPDF-5368
Fixes the issue that the converted PDF/A3A documents was not standards-compliant.
Bug SPIREPDF-5356 Fixes the issue that file corrupted after grayscale conversion.
Bug SPIREPDF-5359 Fixes the issue that the content format was incorrect after converting PDF to images.
Bug SPIREPDF-5376 Fixes the issue that the content was lost after converting PDF to images.
Bug SPIREPDF-5381 Fixes the issue that the application throws System.IO.FileNotFoundException when OFD file is converted to PDF.
Bug SPIREPDF-5383 Fixes the issue that the application throws System.ArgumentException when filling form fields.
Click the link to download Spire.PDF 8.8.6:
More information of Spire.PDF new release or hotfix:

We are excited to announce the release of Spire.XLS 12.8.1. This version supports getting the CurrentRegion of cell. Moreover, it also enhances the conversion from Excel to PDF and fixes some known issues such as the image in Excel was replaced after saving. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREXLS-1483 Supports getting the CurrentRegion of cell.
sheet.Range["A1"].CurrentRegion;
Bug SPIREXLS-3898 Fixes the issue that the repeated labels of pivot table lost after converting Excel to PDF.
Bug SPIREXLS-3973 Fixes the issue that the image in Excel was replaced after saving.
Bug SPIREXLS-3974 Fixes the issue that the content in Hebrew language was not displayed correctly after converting Xltx to PDF.
Bug SPIREXLS-3981 Fixes the issue that some contents lost after converting Excel to PDF
Bug SPIREXLS-3982 Fixes the issue that the content was overlapped after converting Excel to PDF.
Bug SPIREXLS-3985
SPIREXLS-4032
Fixes the issue that after saving Excel, the Microsoft Excel prompted that the content has error when opening.
Bug SPIREXLS-4006 Fixes the issue that the arrow lost after converting Excel to HTML.
Bug SPIREXLS-4007 Fixes the issue that the formula lost after converting XLS to XLSX.
Bug SPIREXLS-4019 Fixes the issue that caused incorrect format after converting chart to image.
Bug SPIREXLS-4021 Fixes the issue that the application threw the "ArgumentOutOfRangeException" when getting the RtfText of cell.
Bug SPIREXLS-4031 Fixes the issue that the application threw the "Specified argument was out of the range of valid values" when converting Excel to PDF.
Bug SPIREXLS-4034 Fixes the issue that the application threw the "Invalid autoFilter element" when loading Excel.
Click the link to download Spire.XLS 12.8.1:
More information of Spire.XLS new release or hotfix: