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
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…
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
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:…
We are happy to announce the release of Spire.Doc for Python 12.2.1. This version supports obtaining page content through fixed layout. More details are listed below. Here is a list of changes made in this release Category ID Description New feature - Supports obtaining page content through fixed layout. def WriteAllText(fpath:str,content:str): with open(fpath,'w',encoding="utf-8") as fp: fp.write(content) # Specify the file path inputFile = "./Data/Sample.docx" outputFile = "output.txt" # Create a new instance of Document doc = Document() # Load the document from the specified file doc.LoadFromFile(inputFile, FileFormat.Docx) # Create a FixedLayoutDocument object using the loaded document layoutDoc = FixedLayoutDocument(doc) result…
We are pleased to announce the release of Spire.Doc for Python 12.2.0. This version fixes the issue that the product package couldn’t be installed with Python 3.7. More details are listed below. Here is a list of changes made in this release Category ID Description Bug SPIREDOC-10288 Fixes the issue that the program failed to request resources when installing the product package with Python3.7. Click the link below to download Spire.Doc for Python 12.2.0: https://www.e-iceblue.com/Download/Spire-Doc-Python.html
We are pleased to announce the release of Spire.Doc for Python 12.1.0. This version adds a new custom exception class SpireException. In addition, the issue that setting table borders was invalid has also been fixed. More details are listed below. Here is a list of changes made in this release Category ID Description New feature - Adds a new custom exception class SpireException. Bug SPIREDOC-10028 Fixes the issue that setting table borders was invalid. Click the link below to download Spire.Doc for Python 12.1.0: https://www.e-iceblue.com/Download/Spire-Doc-Python.html
page