Spire.XLS 14.9.1 supports identify OLE objects in Msg format

2024-09-06 08:49:19

We are happy to announce the release of Spire.XLS 14.9.1. This version supports identify OLE objects in Msg format and disabling DTD processing. It also implements the support for the BAHTTEXT formula. Moreover, some known issues are fixed successfully in this version, such as the issue that the result of data summing using MarkerDesigner function was incorrect. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREXLS-5307 Adds the 'OleObjectType.Msg' type to identify OLE objects in Msg format.
Workbook wb = new Workbook();
wb.LoadFromFile(inputFile);
Worksheet sheet =wb.Worksheets[0];
OleObjectType type;
if (sheet.HasOleObjects)
{
   for (int i = 0; i < sheet.OleObjects.Count; i++)
   {
      var Object = sheet.OleObjects[i];
      type = sheet.OleObjects[i].ObjectType;
      switch (type)
      {
         case OleObjectType.Msg:
            File.WriteAllBytes(outputFile_1, Object.OleData);
            break;     
         ......                   
      }
    }
}
New feature SPIREXLS-5359 Adds the 'workbook.ProhibitDtd = true' property to disable DTD processing.
Workbook workbook = new Workbook();
workbook.ProhibitDtd = true; 
workbook.LoadFromFile(inputFile);
workbook.SaveToFile(outputFile, ExcelVersion.Version2013);
workbook.Dispose();
New feature SPIREXLS-5395 Implements the support for the BAHTTEXT formula.
Workbook workbook = new Workbook();
workbook.Worksheets[0].Range["A3"].Value2 = 1234;
workbook.Worksheets[0].Range["C3"].Formula = "=BAHTTEXT(A3)";
workbook.Worksheets[0].Range["A9"].Value = "1234";
workbook.Worksheets[0].Range["C9"].Formula = "=BAHTTEXT(A9)";            
workbook.SaveToFile(outputFile, ExcelVersion.Version2013);
workbook.Dispose();
Bug SPIREXLS-5108 Fixed the issue that the table borders were inconsistent in color after converting an Excel document to a picture.
Bug SPIREXLS-5280 Fix the issue that the content was incorrect after converting an Excel document to a CSV document.
Bug SPIREXLS-5315 Fix the issue that the order of setting different font styles for the contents of a cell affected the inconsistency of the results.
Bug SPIREXLS-5321 Fix the issue that icons were lost after converting an Excel document to an HTML document.
Bug SPIREXLS-5332 Fix the issue that the data in the pivot table was lost when converting an Excel document to a picture.
Bug SPIREXLS-5346 Fix the issue that the result of data summing using MarkerDesigner function was incorrect.
Bug SPIREXLS-5360 Fixed the issue that the program threw System.OutOfMemoryException when converting charts to pictures.
Bug SPIREXLS-5361 Fixed the issue that the formatting was changed after saving as an XLSX document.
Bug SPIREXLS-5363 Fixed the issue that the spacing between words became larger after converting an Excel document to a PDF document.
Bug SPIREXLS-5400 Fix the issue that the text line breaks were incorrect after converting an Excel document to a PDF document.
Click the link to download Spire.XLS 14.9.1:
More information of Spire.XLS new release or hotfix: