Spire.Doc for Java 11.12.1 supports setting left and right indents by characters

2023-12-13 09:49:30

We are pleased to announce the release of Spire.Doc for Java 11.12.1. This version supports setting left and right indents by character. The conversion from Word to PDF and HTML, and from HTML to Word have also been enhanced. In addition, some known issues have also been fixed in this version, such as the issue that setting the direction of a section to landscape didn’t take effect. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREDOC-9980 Supports setting left and right indents by character.
paragraph.getFormat().setLeftIndentChars(2.5f);
paragraph.getFormat().setRightIndentChars(5.5f);
Bug SPIREDOC-9452 Fixes the issue that there were extra blank pages when converting Word to PDF.
Bug SPIREDOC-9737 Fixes the issue that the content format was incorrect when converting RTF to PDF.
Bug SPIREDOC-9838
SPIREDOC-9913
Fixes the issue that the track changes feature didn’t work.
Bug SPIREDOC-9927 Fixes the issue that there were inconsistent row heights in cells when converting Word to PDF.
Bug SPIREDOC-9930 Fixes the issue that incorrect text color was displayed in flowcharts when converting Word to PDF.
Bug SPIREDOC-9936 Fixes the issue that item numbers were misaligned when converting RTF to Word.
Bug SPIREDOC-9955 Fixes the issue that the program threw "java.lang.IllegalArgumentException" when converting Word to HTML.
Bug SPIREDOC-9957 Fixes the issue that table borders were missing when converting HTML to Word.
Bug SPIREDOC-9962 Fixes the issue that subscript text font became smaller when converting Word to HTML.
Bug SPIREDOC-9975 Fixes the issue that setting the direction of a section to landscape didn't take effect.
Bug SPIREDOC-10030 Fixes the issue that mathematical formulas were incorrectly displayed when converting HTML to Word.
Bug SPIREDOC-10049 Fixes the issue that the program threw "Non-negative number required" when converting Word to PDF.
Bug SPIREDOC-10059 Fixes the issue that the program threw "java.lang.StringIndexOutOfBoundsException" when inserting HTML text into a Word document.
Bug SPIREDOC-9897 Fixes the issue that searching text with regular expressions failed.
Bug SPIREDOC-9857 Fixes the issue that the direction of bracket in text boxes changed when converting Word to PDF.
Click the link below to download Spire.Doc for Java 11.12.1: