Spire.XLS for Java 14.4.4 adds a new method for converting Excel worksheets to SVG

2024-04-28 01:26:32

We're pleased to announce the release of Spire.XLS for Java 14.4.4. This version adds a new method for converting Excel worksheets to SVG documents that supports returning SVG dimensions. Moreover, it also fixes some issues that occurred when converting Excel to PDF and HTML formats. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREXLS-5111 Adds a new method for converting Excel worksheets to SVG documents, with support for returning SVG dimensions.
Workbook workbook = new Workbook();
workbook.loadFromFile("1.xlsx");
Worksheet sheet = workbook.getWorksheets().get(0);
FileOutputStream stream = new FileOutputStream(outputFile);
Dimension dimension = sheet.toSVGStream(stream, sheet.getFirstRow(), sheet.getFirstColumn(), sheet.getLastRow(), sheet.getLastColumn());
double Height = dimension.getHeight();
double Width = dimension.getWidth();
Bug SPIREXLS-5077 Fixes the issue that the text positions were incorrect when converting an Excel document to a PDF document.
Bug SPIREXLS-5130 Fixes the issue that the hyperlinks were lost when converting an Excel document to an HTML document.
Bug SPIREXLS-5140 Fixes the issue that the right margin increased when converting an Excel document to a PDF document in a Japanese language environment.
Bug SPIREXLS-5150 Fixes the issue that the content was lost when converting an Excel document to a PDF document.
Bug SPIREXLS-5178 Fixes the issue that adding custom filters did not take effect.
Bug SPIREXLS-5179 Fixes the issue that the image scale was distorted when converting an Excel document to a PDF document.
Bug SPIREXLS-5180 Fixes the issue that the program hangs indefinitely when converting an HTML document to an Excel document.
Bug SPIREXLS-5184 Fixes the issue that the tables were incomplete when converting an Excel document to an HTML document.
Click the link to download Spire.XLS for Java 14.4.4: