Spire.Doc for Python 13.8.0 supports setting chart axis intervals
2025-08-14 09:25:07
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…
Spire.Doc for Python 13.4.6 supports matching and finding all keywords within paragraphs
2025-04-30 06:01:51
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)…
Spire.Doc for Python 13.3.8 starts to support for arm64/aarch64
2025-03-31 02:55:25
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.…
Spire.Doc for Python 12.12.0 supports setting the gutter position in a Word document
2024-12-06 09:38:25
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…
Spire.Doc for Python 12.7.1 fixes an issue
2024-07-17 02:04:26
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
Spire.Doc for Python 12.6.0 supports converting Word to Markdown, or Markdown to Word/PDF
2024-06-26 09:02:32
We're pleased to announce the release of Spire.Doc for Python 12.6.0. This version supports loading, saving and converting Markdown documents, such as converting Word to Markdown,or Markdown to Word/PDF. In addition, it also fixes some issues that occurred when converting Word to PDF, Html to Word. More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREDOC-10556 Supports loading, saving and converting Markdown documents. document= Document() #load .md file document.LoadFromFile("input.md") #save to .md file document.SaveToFile("output.md", FileFormat.Markdown) #save to .docx file document.SaveToFile("output.docx", FileFormat.Docx) #save to .doc file document.SaveToFile("output.doc", FileFormat.Doc) #save to…
Spire.Doc for Python 12.4.0 supports macOS system
2024-04-26 02:34:00
We are delighted to announce the release of Spire.Doc for Python 12.4.0. This version supports macOS system. More details are listed below. Here is a list of changes made in this release Category ID Description New feature - Supports macOS system. Click the link below to get Spire.Doc for Python 12.4.0: https://www.e-iceblue.com/Download/Spire-Doc-Python.html
Spire.Doc for Python 12.3.2 supports getting revisions
2024-03-20 09:07:00
We are pleased to announce the release of Spire.Doc for Python 12.3.2. This version supports getting revisions. It also fixes the issue that the program threw a "TypeError" error when the keyword was not matched using FindString(). More details are listed below. Here is a list of changes made in this release Category ID Description New feature SPIREDOC-10366 Supports getting revisions. doc1 = Document(inputFile_1) doc2 = Document(inputFile_2) doc1.Compare(doc2, "Author") revisions = DifferRevisions(doc1) content = "" m = 0 n = 0 insertRevisionList = revisions.InsertRevisions deleteRevisionList = revisions.DeleteRevisions for i in range(0, insertRevisionList.__len__()): # if isinstance(insertRevisionList[i], TextRange): if insertRevisionList[i].DocumentObjectType == DocumentObjectType.TextRange:…