Spire.Doc 12.1.17 enhances the conversion from Word to PDF and HTML

2024-01-31 09:59:37

We are pleased to announce the release of Spire.Doc 12.1.17. In this version, the left and right indentation function of a paragraph supports setting the number of characters. The conversion from Word to PDF and HTML has also been enhanced. In addition, some known issues have also been fixed, such as the issue that the content format was incorrect when converting Word documents to PDF documents. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREDOC-9979
SPIREDOC-10058
The left and right indentation function of the paragraph supports the option of setting the number of characters.
// Set left indentation by character count
paragraph.Format.LeftIndentChars = 10;
// Set right indentation by character count
paragraph.Format.RightIndentChars = 10;
Bug SPIREDOC-3363 Fixes the issue that the content format was incorrect when converting Word documents to PDF documents.
Bug SPIREDOC-3363
SPIREDOC-10083
Fixes the issue that the font changed when converting Word documents to PDF documents.
Bug SPIREDOC-9136 Fixes the issue that the document structure tags were lost when converting Word documents to PDF documents.
Bug SPIREDOC-9718 Fixes the issue that the fonts of formula content in saved Docx documents had extra italic effects.
Bug SPIREDOC-9756 Fixes the issue that the program threw System.ArgumentException when converting Word documents to HTML documents.
Bug SPIREDOC-10001 Fixes the issue that table border changed when converting Word documents to PDF documents.
Bug SPIREDOC-10016 Fixes the issue that there was an extra blank paragraph after replacing bookmark content.
Bug SPIREDOC-10084 Fixes the issue that font bold style was lost when converting Word documents to PDF documents.
Bug SPIREDOC-10110 Fixes the issue that the program threw System.ArgumentOutOfRangeException when loading Doc documents.
Bug SPIREDOC-10111 Fixes the issue that content was indented when converting Word documents to PDF documents.
Bug SPIREDOC-10119 Fixes the issue that getting codes in cross-reference fields failed.
Bug SPIREDOC-10132 Fixes the issue that the program threw System.ArgumentOutOfRangeException when getting FixedLayoutDocument objects in blank documents.
Bug SPIREDOC-10195 Fixes the issue that the program threw System.NullReferenceException when deleting bookmark content after copying documents.
Click the link to download Spire.Doc 12.1.17:
More information of Spire.Doc new release or hotfix: