Spire.XLS for JavaScript 15.5.0 supports multiple new features

Spire.XLS for JavaScript 15.5.0 supports multiple new features

2025-05-15 05:38:42

We are excited to announce the release of Spire.XLS for JavaScript 15.5.0. This version adds 19 new features, such as grouping Shapes, enabling revision mode, and embedding images into cells. Moreover, it also upgrades SkiaSharp and enhances the conversion from Shape to images. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature -

Supports 19 new features, including:

Groupe Shapes.

const workbook = wasmModule.Workbook.Create();
const sheet = workbook.Worksheets.get(0);
const shape1 = sheet.PrstGeomShapes.AddPrstGeomShape(1, 3, 50, 50, spirexls.PrstGeomShapeType.RoundRect);
const shape2 = sheet.PrstGeomShapes.AddPrstGeomShape(5, 3, 50, 50, spirexls.PrstGeomShapeType.Triangle);
const groupShapeCollection = sheet.GroupShapeCollection;
groupShapeCollection.Group([shape1, shape2]);
workbook.SaveToFile(outputFileName,spirexls.ExcelVersion.Version2013);

Enable revision mode.

const workbook = wasmModule.Workbook.Create();
workbook.LoadFromFile(inputFileName);
workbook.TrackedChanges = true;
const outputFileName = "out.xlsx";
workbook.SaveToFile(outputFileName, spirexls.ExcelVersion.Version2013);

Embed images into cells.

const workbook = wasmModule.Workbook.Create();
workbook.LoadFromFile(inputFileName);
const params = {
    fileName: imageName,
    scale: true
}
const sheet = workbook.Worksheets.get(0);
sheet.Range.get("B1").InsertOrUpdateCellImage(params);
const outputFileName="out.xlsx";
workbook.SaveToFile(outputFileName);
Adjustment - Upgrades SkiaSharp to version 3.116.1.
Bug SPIREXLS-5726 Fixes the issue that the text overflowed when converting Shape to images.
Click the link below to download Spire.XLS for JavaScript 15.5.0: