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:

We are glad to announce the release of Spire.PDF 8.6.1. This version supports setting the author and subject for PDFLineAnnotation, and supports setting the ForeColor for CheckBox field. It also enhances the conversion from OFD to PDF. In addition, it fixes some known issues such as the field text was incorrect after printing. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPDF-5095 Supports setting the author and subject for PDFLineAnnotation.
if (annotation is PdfLineAnnotationWidget)
{
    PdfLineAnnotationWidget lineAnn = annotation as PdfLineAnnotationWidget;
    //PdfLineAnnotation lineAnn = annotation as PdfLineAnnotation;
    lineAnn.Author = "Author_test";
    lineAnn.Subject = "Subject_test";
}
New feature SPIREPDF-5148 Supports setting the ForeColor for CheckBox field.
checkboxField.ForeColor = new PdfRGBColor(Color.Red);
New feature SPIREPDF-5154 Adjusts the interface find.ApplyHighLight()to find.HighLight(), and this method improves the highlighting effect.
New feature - Supports creating tagged structure PDF.
PdfStringFormat format = new PdfStringFormat();
PdfTrueTypeFont font = new PdfTrueTypeFont(new System.Drawing.Font("Times New Roman", 10));
PdfPen pen = PdfPens.Black;
PdfSolidBrush brush = new PdfSolidBrush(Color.Black);

PdfDocument doc = new PdfDocument("HelloWord.pdf");
PdfLogicalStructure tree = PdfLogicalStructure.CreateLogicalStructure(doc);
PdfStructureElement article = tree.AppendChildElement(PdfStandardStructTypes.Article);
article.Title = "create tagged pdf";

PdfStructureElement paragraph1 = article.AppendChildElement(PdfStandardStructTypes.Paragraph);
paragraph1.Title = "text paragraph1";
int mcid = 0;
paragraph1.BeginMarkedContentSequence(doc.Pages[0].Canvas, "paragraph1", mcid);

doc.Pages[0].Canvas.DrawString("paragraph1: PDF’s logical structure facilities (PDF 1.3) provide a mechanism for " +
    "incorporating structural information about a document’s content into a PDF file. Such information might include, " +
    "for example, the organization of the document into chapters and sections or the identification of special elements " +
    "such as figures, tables, and footnotes. The logical structure facilities are extensible, allowing applications that " +
    "produce PDF files to choose what structural information to include and how to represent it, while enabling PDF " +
    "consumers to navigate a file without knowing the producer’s structural conventions.",
   font, pen, brush, new Rectangle(40, 200, 480, 80), format);
paragraph1.EndMarkedContentSequence(doc.Pages[0].Canvas);
paragraph1.ReferenceContent(doc.Pages[0], mcid);

PdfStructureElement paragraph2 = article.AppendChildElement(PdfStandardStructTypes.Paragraph);
paragraph2.Title = "text paragraph2";
mcid = 1;
paragraph2.BeginMarkedContentSequence(doc.Pages[0].Canvas, "paragraph2", mcid);
doc.Pages[0].Canvas.DrawString("paragraph2: PDF logical structure shares basic features with standard document markup languages" +
    " such as HTML, SGML, and XML. A document’s logical structure is expressed as a hierarchy of structure elements, each" +
    " represented by a dictionary object. Like their counterparts in other markup languages, PDF structure elements can" +
    " have content and attributes. In PDF, rendered document content takes over the role occupied by text in HTML, SGML, and XML.",
   font, pen, brush, new Rectangle(40, 280, 480, 60), format);
paragraph2.EndMarkedContentSequence(doc.Pages[0].Canvas);
paragraph2.ReferenceContent(doc.Pages[0], mcid);

doc.SaveToFile("Tagged.pdf");
Bug SPIREPDF-1269 Fixes the issue that caused incorrect field text after printing.
Bug SPIREPDF-1280 Improves the time to convert PDF to image.
Bug SPIREPDF-1603
SPIREPDF-5022
Fixes the issue that failed to get the value from XFA field.
Bug SPIREPDF-4990 Optimizes the memory consumption when manipulating PDF and resultant document size.
Bug SPIREPDF-5018 Fixes the issue that failed to find the text that contains superscripts..
Bug SPIREPDF-5041 Fixes the issue that the application threw the "post table issue" when converting PDF to Images.
Bug SPIREPDF-5057 Fixes the issue that failed to replace image in PDF.
Bug SPIREPDF-5079 Fixes the issue that failed to delete image from PDF.
Bug SPIREPDF-5119 Fixes the issue that caused incorrect format after converting PDF to Image.
Bug SPIREPDF-5142 Fixes the issue that failed to find vertical text in PDF.
Bug SPIREPDF-5148 Supports setting the ForeColor for CheckBox field.
Bug SPIREPDF-5155 Fixes the issue that caused incorrect text spacing after converting OFD to PDF.
Bug SPIREPDF-5165 Fxies the issue that the application threw the "NullReferenceException" when filling image in PdfButton field.
Bug SPIREPDF-5168 Fixes the issue that the PDFViewer failed to load the PDF stream converted from OFD.
Bug SPIREPDF-5171 Synchronizes the cell.getStyle().setCellPadding interface in JAVA (setting the padding of a cell) to .NET.
Bug SPIREPDF-5175 Fixes the issue that characters were incorrect after printing PDF.
Bug SPIREPDF-5177 Fixes the issue that setting the WordWrap for text in grid didn't take effect.
Bug SPIREPDF-5179
SPIREPDF-5227
Fixes the issue that the size of image stamp became large after converting OFD to PDF.
Bug SPIREPDF-5183 Fixes the issue that the application threw "The conversion provider cann't be found" exception when converting HTML to PDF using QT plugin.
Bug SPIREPDF-5184 Fixes the issue that the image was lost after converting SVG to PDF.
Bug SPIREPDF-5199 Fixes the issue that the image stamp was lost after converting OFD to PDF.
Bug SPIREPDF-5207 Fixes the issue that the text overlapped after adding in grid.
Click the link to download Spire.PDF 8.6.1:
More information of Spire.PDF new release or hotfix:

We are excited to announce the release of Spire.XLS for Java 12.6.0. This version supports setting whether to export hidden worksheets when converting Excel to HTML. Besides, after converting Excel to HTML, a contrasting color border is added to the currently selected tab in the converted HTML and the spacing on both sides is added to the text of the worksheet tabs. Moreover, it also enhances the conversion from Excel to HTML, Excel to PDF, and Excel to images. Additionally, some known issues are fixed, such as the issue that sparklines are lost after copying sheets and the issue that the function of setting the cell background color to transparent does not work. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREXLS-3865 Supports setting whether to export hidden worksheets when converting Excel to HTML.
Workbook book=new Workbook();
book.loadFromFile("test.xlsx");
//false--- export the hiden worksheets
//true--- not export the hiden worksheets
book.saveToHtml("output.html",false); 
New feature SPIREXLS-3872 After converting Excel to HTML, a contrasting color border is added to the currently selected tab in the converted HTML.
New feature SPIREXLS-3873 After converting Excel to HTML, the spacing on both sides is added to the text of the worksheet tabs.
Bug SPIREXLS-3724 Fixes the issue that updates chart data with wrong results.
Bug SPIREXLS-3764 Fixes the issue that the content exceeded the cells after Excel was converted to images.
Bug SPIREXLS-3803 Fixes the issue that "NullPointerException" was thrown when converting Excel to images.
Bug SPIREXLS-3815 Fixes the issue that the background color and text color of the worksheet tab changed after converting Excel to HTML.
Bug SPIREXLS-3831 Fixes the issue that the application hangs when converting Excel to PDF.
Bug SPIREXLS-3832 Fixes the issue that sparklines were lost after copying sheets.
Bug SPIREXLS-3841 Fixes the issue that macros were lost after saving the document.
Bug SPIREXLS-3867 Fixes the issue that the application throws "ArrayIndexOutOfBoundsException" when loading an XML file.
Bug SPIREXLS-3871 Fixes the issue that the content was offset after Excel was converted to HTML.
Bug SPIREXLS-3875 Fixes the issue that setting DPI did not work when converting charts to images.
Bug SPIREXLS-3877 Fixes the issue that some data values were incorrect after converting Excel to PDF.
Bug SPIREXLS-3907 Fixes the issue that setting the cell background color to transparent does not work.
Click the link to download Spire.XLS for Java 12.6.0:

We are glad to announce the release of Spire.Barcode 6.6.3. This version fixes the issue that the scanned data was inconsistent with the data scanned by mobile phone as well as that the rectangle added in barcode became square. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Bug SPIREBARCODE-214 Fixes the issue that the rectangle added in barcode became square.
Bug SPIREBARCODE-215 Fixes the issue that the scanned data was inconsistent with the data scanned by mobile phone.
Click the link below to download Spire.Barcode 6.6.3:
More information of Spire. Barcode new release or hotfix:
Page 1 of 11