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. |
Click the link below to download Spire.Doc for Python 14.4.2: