Spire.Doc for Python | News
We’re pleased to announce the release of Spire.Doc for Python 14.1.6. This version adds support for macOS on ARM architecture. In addition, several issues related to document property retrieval and font size settings on macOS have been fixed. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREDOC-10777 Added support for macOS on ARM architecture. Bug SPIREDOC-11594 Fixed an issue where retrieving document properties in a Python v3.14 environment caused a “NotImplementedError” exception. Bug SPIREDOC-11602 Fixed an issue where setting CharacterFormat.FontSize on macOS caused a “RuntimeError: ffi_prep_cif_var failed” exception.…
We're pleased to announce the release of Spire.Doc for Python 14.1.0. This version adds new interfaces for managing and removing table styles. Additionally, it resolves an issue where enabling track changes and replacing text produced incorrect results. More details are listed below. Here is a list of changes made in this release Category ID Description Optimization - Chart namespace updated: // Old import (deprecated): from spire.doc.charts import ChartType // New import (use this): from spire.doc.charts.ChartType import ChartType New feature - The Bookmark class now includes FirstColumn and LastColumn properties to retrieve the starting and ending column indices of a bookmark…
We’re pleased to announce the release of Spire.Doc for Python 13.12.0. This version delivers significant API enhancements, including fine-grained format control for document elements, improved chart configuration options, and upgraded comparison features. Additionally, it introduces auxiliary function enhancements, a revamped list system, and overall API optimizations to streamline user experience. More details are as follows. Here is a list of changes made in this release Category ID Description Adjustment - Added fine-grained format control capabilities for core document elements such as paragraphs, tables, cells, borders, and styles. Class Name New Features Feature Description Paragraph GetText Retrieve the text content of…
We're pleased to announce the release of Spire.Doc for Python 13.8.0. This version adds support for setting chart axis intervals. Meanwhile, several issues related to text box counting, formula display, document comparison, custom properties, and content formatting have also been successfully fixed. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREDOC-11307 Supports setting chart axis intervals. chart.AxisX.Units.Major = 5 chart.AxisX.Units.MajorTimeUnit= AxisTimeUnit.Days chart.AxisX.Units.BaseTimeUnit= AxisTimeUnit.Days New feature SPIREDOC-11211 Synchronizes the setDefaultSubstitutionFontName method to support setting the default substitution font. doc.DefaultSubstitutionFontName = "SimSun"; Bug SPIREDOC-10473 Fixes the issue where the count…
We are excited to announce the release of Spire.Doc for Python 13.4.6. The latest version supports matching and finding all keywords within paragraphs. Besides, some known bugs are fixed in this update, such as the issue that the text was garbled when converting Word to TXT. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREDOC-10348 SPIREDOC-11127 Supports matching and finding all keywords within paragraphs. #Create word document document = Document() #Load the document from disk. document.LoadFromFile(inputFile) #Insert the paragraphs of document for i in range(document.Sections.Count): section = document.Sections.get_Item(i)…
We are excited to announce the release of Spire.Doc for Python 13.3.8. The latest version starts to support for arm64/aarch64, supports writing MHTML format files. Besides, some known bugs are fixed successfully in this update, such as the issue that content was lost when converting HTML to PDF. More details are listed below. Here is a list of changes made in this release Category Description New feature Spire.Doc for Python starts to support for arm64/aarch64. New feature Supports writing MHTML format files. doc.SaveToFile(outputFile, FileFormat.Mhtml) Adjustment Upgrades HarfBuzzSharp > 8.3.0.1 and SkiaSharp > 3.116.1 Adjustment Adapts to the latest Net code.…
We are excited to announce the release of Spire.Doc for Python 12.12.0. The latest version supports setting the gutter position in a Word document. Besides, some known issues are fixed successfully in this update, such as the issue that the program threw "Arg_InvalidCastException" when adding a LaTeX formula. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREDOC-10347 Supports marking Word documents as 'final'. from spire.doc import * from spire.doc.common import * document = Document() document.LoadFromFile("in.docx") customProperties = document.CustomDocumentProperties customProperties.Add("_MarkAsFinal", Boolean(True)) document.SaveToFile("out.docx", FileFormat.Docx2013) New feature SPIREDOC-10401 Supports setting the…
We are happy to announce the release of Spire.Doc for Python 12.7.1. This version fixes the issue that "ffi_prep_cif_var failed" exception was thrown when using some features of Spire.Doc on Ubuntu 22. More details are listed below. Here is a list of changes made in this release Category ID Description Bug SPIREDOC-10388 SPIREDOC-10512 SPIREDOC-10552 SPIREDOC-10645 Fixes the issue that "ffi_prep_cif_var failed" exception was thrown when using some features of Spire.Doc on Ubuntu 22. Click the link below to get Spire.Doc for Python 12.7.1: https://www.e-iceblue.com/Download/Spire-Doc-Python.html
Page 1 of 2
page 1