Spire.Doc for Python 14.4.2 supports converting Word to Excel
We’re pleased to announce the release of Spire.Doc for Python 14.4.2. This version brings several valuable new features, such as converting Word to Excel, and converting MHTML to PDF. Moreover, it fixes the issue where adding a digital signature failed when converting Word to PDF. More details are as follows.
Here is a list of changes made in this release
| Category | ID | Description |
| New Feature | SPIREDOC-10770 | Added support for converting MHTML to PDF.
document = Document() document.LoadFromFile(“input.mhtml”) document.SaveToFile(“output.pdf”, FileFormat.PDF) document.Close() |
| New Feature | SPIREDOC-11793 | Added support for exporting Word mathematical formulas as standard MathML to ensure correct rendering in HTML.
HtmlExportOptions options = doc.HtmlExportOptions; options.OfficeMathOutputMode = HtmlOfficeMathOutputMode.MathML; |
| New Feature | SPIREDOC-11872 | Added support for converting Word to Excel.
document = Document() document.LoadFromFile(“input.docx”) document.SaveToFile(“output.xlsx”, FileFormat.XLSX) document.Close() |
| Bug Fix | SPIREDOC-11701 | Fixed an issue where the program threw an exception when adding a series to a chart. |
| Bug Fix | SPIREDOC-11832 | Fixed an issue where adding a digital signature failed when converting Word to PDF. |
Spire.PDF 12.4.5 enhances the conversions from PDF to PDF/A and images
We're pleased to announce the release of Spire.PDF 12.4.5. This version enhances the conversions from PDF to PDF/A and images. Meanwhile, several issues that occurred when printing and merging PDFs have also been successfully fixed. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| Bug Fix | SPIREPDF-7164 | Fixed the issue where the page content was distorted when copying a page via CreateTemplate(). |
| Bug Fix | SPIREPDF-7803 | Fixed the issue where concurrent HTML to PDF conversions occasionally failed to generate documents. |
| Bug Fix | SPIREPDF-7948 | Fixed the issue where printing a PDF produced extra, unintended content. |
| Bug Fix | SPIREPDF-7984 | Fixed the issue where text box fields with the same name could not be associated. |
| Bug Fix | SPIREPDF-7998 | Fixed the issue where content went missing when converting PDF to images. |
| Bug Fix | SPIREPDF-8003 | Fixed the issue where the program threw an ArgumentOutOfRangeException when merging PDFs. |
| Bug Fix | SPIREPDF-8004 | Fixed the issue where the program threw an ArgumentOutOfRangeException when merging PDF documents without applying a license. |
| Bug Fix | SPIREPDF-8010 | Fixed the issue where the description in document properties was incorrect when converting PDF to PDF/A. |
| Bug Fix | SPIREPDF-8014 | Fixed the issue where the position and size information of videos in PDF files could not be retrieved. |
Spire.OCR 2.2.10 supports integration with cloud AI models
We're pleased to announce the release of Spire.OCR 2.2.10. This version supports integration with cloud AI models (such as Doubao, Qwen, DeepSeek, etc.) for image text recognition. (Note: Users are required to obtain their own API Keys from the respective AI platforms.) More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New Feature | SPIREOCR-125 | Supports integration with cloud AI models (such as Doubao, Qwen, DeepSeek, etc.) for image text recognition.
static void Main(string[] args)
{
string filename = "1.png";
string outputFile = "scan.txt";
string filePath = "F:\\3.3.0AI\\AI\\"+"ocr.xml";
string newModel = "AIModel";
string newApiKey = "ApiKey";
string newApiUrl = "ApiUrl";
UpdateOcrConfig(filePath, newModel, newApiKey, newApiUrl);
ScanImg(filename, outputFile);
}
public static void ScanImg(string filename, string outputFile)
{
OcrScanner scanner = new OcrScanner();
ConfigureOptions configureOptions = new ConfigureOptions();
configureOptions.ModelPath = "F:\\3.3.0AI\\AI";
configureOptions.Language = "English";
scanner.ConfigureDependencies(configureOptions);
scanner.Scan(filename);
File.WriteAllText(outputFile, scanner.Text.ToString());
}
public static void UpdateOcrConfig(string filePath, string model, string apiKey, string apiUrl)
{
XmlDocument doc = new XmlDocument();
doc.Load(filePath);
XmlNode modelNode = doc.SelectSingleNode("/ocr/configs/model");
XmlNode apiKeyNode = doc.SelectSingleNode("/ocr/configs/apiKey");
XmlNode apiUrlNode = doc.SelectSingleNode("/ocr/configs/apiUrl");
if (modelNode != null) modelNode.InnerText = model;
if (apiKeyNode != null) apiKeyNode.InnerText = apiKey;
if (apiUrlNode != null) apiUrlNode.InnerText = apiUrl;
doc.Save(filePath);
Console.WriteLine("XML file updated!");
}
|
Spire.Doc for JavaScript 14.4.2 adds support for Word to Markdown conversion and more features
We’re pleased to announce the release of Spire.Doc for JavaScript 14.4.2. This version adds support for converting Word documents to Markdown format, inserting SVG files into Word documents, and setting gutter width. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New Feature | — | Supports converting Word documents to Markdown format. |
| New Feature | — | Supports inserting SVG files into Word documents. |
| New Feature | — | Supports setting gutter width. |
Spire.Presentation for JavaScript 11.4.1 supports converting PowerPoint to PDF/A
We’re glad to announce the release of Spire.Presentation for JavaScript 11.4.1. This update introduces two major enhancements: converting PowerPoint to PDF/A, allowing you to create documents that meet long-term archival requirements directly from your presentations; and adding HTML with images to PowerPoint, enabling you to seamlessly embed rich HTML content, including images, into your slides.
Here is a list of changes made in this release
| Category | ID | Description |
| New Feature | - | Added support for converting PowerPoint to PDF/A compliant documents. |
| New Feature | - | Added support for adding HTML with images to PowerPoint documents. |
Spire.PDF for Android via Java 10.8.0 introduces the PdfImageHelper class for processing images
We're pleased to announce the release of Spire.PDF for Android via Java 10.8.0. This version introduces the PdfImageHelper class for image processing, and optimizes the methods for retrieving signature certificate names and registering table layout events. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| Optimization | - | Introduced the PdfImageHelper class for processing PDF images.
Before: // Get the image information on a PDF page PdfImageInfo[] imageInfo = page.getImagesInfo(); // Replace the first image page.replaceImage(0, image) // Delete the first image page.deleteImage(0); After: // Get the image information on a PDF page PdfImageHelper imageHelper = new PdfImageHelper(); PdfImageInfo[] imagesInfos = imageHelper.getImagesInfo(page); // Replace the first image imageHelper.replaceImage(imagesInfos[0], image); // Delete the first image imageHelper.deleteImage(imagesInfos[0]); |
| Optimization | - | Optimized the method for retrieving signature certificate names.
Before: signature.getCertificate().get_IssuerName().getName() After: signature.getCertificate().getDistinguishedName()); |
| Optimization | - | Optimized the method for registering table layout events.
Before: table.beginRowLayout.add() / table.endCellLayout.add() After: table.addBeginRowLayoutEventHandler() / table.addEndCellLayoutEventHandler() |
Spire.XLS for JavaScript 16.4.0 supports converting Excel to SVG
We're pleased to announce the release of Spire.XLS for JavaScript 16.4.0. This version supports converting Excel and ChartSheet to SVG, and supports configuring OnlyCopyFormulaValue when cloning cell ranges to copy formula values only. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New Feature | SPIREXLS-5621 | Supports converting Excel to SVG. |
| New Feature | SPIREXLS-5622 | Supports converting ChartSheet to SVG. |
| New Feature | SPIREXLS-5623 | Supports configuring OnlyCopyFormulaValue when cloning cell ranges to copy formula values only. |
Spire.Doc for Java 14.4.0 resolves an HTML appending issue
We’re pleased to announce the release of Spire.Doc for Java 14.4.0. This update fixes a bug that caused a NoClassDefFoundError when calling the appendHTML method.
Here is a list of changes made in this release
| Category | ID | Description |
| Bug Fix | SPIREDOC-11879 | Fixed the issue where a "NoClassDefFoundError" exception was thrown when adding HTML via appendHTML. |
Spire.XLS for Python 16.4.0 adds support for Excel and Markdown conversion
We’re pleased to announce the release of Spire.XLS for Python 16.4.0. This version adds support for hiding the Pivot Table Field List, as well as converting between Excel and Markdown formats. It also fixes several issues, including an exception that occurred when setting the Value2 property of a cell. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New Feature | SPIREXLS-6094 | Supports hiding the Pivot Table Field List.
workbook.HidePivotFieldList = true; |
| New Feature | SPIREXLS-6097 | Supports converting Excel to Markdown.
workbook = Workbook() workbook.LoadFromFile(inputFile) markdownOptions = MarkdownOptions() markdownOptions.SavePicInRelativePath = False markdownOptions.SaveHyperlinkAsRef = False workbook.SaveToMarkdown(outputFile, markdownOptions) workbook.Dispose() |
| New Feature | SPIREXLS-6098 | Supports converting Markdown to Excel.
workbook = Workbook()
workbook.LoadFromFile(inputFile)
wb.SaveToFile("out.xlsx", ExcelVersion.Version2010);
|
| Bug Fix | SPIREXLS-5986 | Fixed an issue where setting the Value2 property of a cell caused an exception. |
| Bug Fix | SPIREXLS-6089 | Fixed an issue where running the package on Python 3.14.2 threw a `NotImplementedError: There is currently no support for "str |
| Bug Fix | SPIREXLS-6091 | Fixed an issue where setting the ShowValuesRow property of a Pivot Table to False did not take effect. |
| Bug Fix | SPIREXLS-6116 | Fixed an issue where specifying a large data source range when creating a Pivot Table caused an exception. |
Spire.PDF 12.4.0 optimizes memory consumption during PDF merging
We're pleased to announce the release of Spire.PDF 12.4.0. This version optimizes memory consumption during PDF merging and also fixes several issues that occurred when processing PDF files. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| Optimization | SPIREPDF-7878 SPIREPDF-7958 | Optimized memory consumption during PDF merging. |
| Bug Fix | SPIREPDF-7850 | Fixed an issue where removing image watermarks from PDFs failed. |
| Bug Fix | SPIREPDF-7963 | Fixed an issue where keywords were not correctly identified when using “TextFindParameter.WholeWord”. |
| Bug Fix | SPIREPDF-7980 | Fixed an issue where content stream markers did not correctly include attribute placeholders when an “ArtifactPropertyList” object was passed to the “BeginMarkedContent” method. |