We are excited to announce the release of Spire.Doc 12.3.12. This version supports loading and manipulating Markdown documents and converting Word documents to the Markdown format. Besides, some known issues are fixed in this version, such as the issue that the bookmarks were incorrect when converting Word to PDF. More details are listed below.
Here is a list of changes made in this release
Category | ID | Description |
New feature | SPIREDOC-10091 SPIREDOC-10217 |
Supports loading and manipulating Markdown documents or converting Word documents to Markdown.
Document doc = new Document(); //load .md file doc.LoadFromFile("input.md"); //save to .md file //doc.SaveToFile("output.md", Spire.Doc.FileFormat.Markdown); //save to .docx file //doc.SaveToFile("output.docx", Spire.Doc.FileFormat.Docx); //save to .doc file //doc.SaveToFile("output.doc", Spire.Doc.FileFormat.Doc); //save to .pdf file doc.SaveToFile("output.pdf", Spire.Doc.FileFormat.PDF); doc.Close(); Document doc = new Document(); //load .docx file doc.LoadFromFile("input.docx"); //load .doc file //doc.LoadFromFile("input.doc"); //save to .md file doc.SaveToFile("output.md", Spire.Doc.FileFormat.Markdown); doc.Close(); |
Bug | SPIREDOC-10307 | Fixes the issue that setting Header.LinkToPrevious and Footer.LinkToPrevious did not take effect. |
Bug | SPIREDOC-10316 | Fixes the issue that some contents were lost after converting Word to PDF. |
Bug | SPIREDOC-10328 | Fixes the issue that the bookmarks were incorrect after converting Word to PDF. |
Bug | SPIREDOC-10370 | Fixes the issue that ReplaceInLine method throws "System.NullReferenceException". |
Click the link to download Spire.Doc 12.3.12:
More information of Spire.Doc new release or hotfix: