Spire.Doc for Java 11.8.1 supports setting the position of the gutter line

2023-08-09 09:54:20

We are pleased to announce the release of Spire.Doc for Java 11.8.1. This version supports setting the position of the gutter line and setting the spacing before/after paragraphs in line units. What's more, some known issues are fixed in this version, such as the issue that the program threw a java.lang.IllegalStateException exception 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-4902 Support setting the position of the gutter line.
Document doc = new Document();
doc.loadFromFile(inputFile);
Section sec = doc.getSections().get(0);
sec.getPageSetup().isTopGutter(false);
sec.getPageSetup().setGutter(100f);
doc.saveToFile(outputFile, FileFormat.Docx);
New feature SPIREDOC-7838 Supports setting the spacing before/after paragraphs in line units.
paragraph.getFormat().setBeforeSpacingLines(5f);
paragraph.getFormat().setAfterSpacingLines(15f);
Bug SPIREDOC-4094 Fixed the issue that the generated table of contents was incorrect.
Bug SPIREDOC-8956 Fixed the issue that saving Docx documents failed when using IBM jdk1.6.
Bug SPIREDOC-9117
SPIREDOC-9647
Fixed the issue that fonts were not embedded when converting Word to OFD.
Bug SPIREDOC-9135 Fixed the issue that the program threw a java.lang.IllegalStateException exception when converting Word to PDF.
Bug SPIREDOC-9193 Fixed the issue that table content was lost when converting Word to PDF.
Bug SPIREDOC-9245 Fixed the issue that bookmarks cannot be retrieved after inserting section breaks.
Bug SPIREDOC-9282 Fixed the issue that extra directory tags appeared when converting Word to HTML.
Bug SPIREDOC-9331 Fixed the issue that the program threw a java.lang.ClassCastException exception when converting Word to PDF.
Bug SPIREDOC-9401 Fixed the issue that unordered list markers were missing when converting Word to PDF.
Bug SPIREDOC-9444 Fixed the issue that the position of footers was incorrect when converting Word to PDF.
Bug SPIREDOC-9459 Fixed the issue that the table of contents update failed.
Bug SPIREDOC-9464 Fixed the issue that pagination was inconsistent when converting Word to PDF.
Bug SPIREDOC-9481 Fixed the issue that header content was inconsistent when converting Word to PDF.
Bug SPIREDOC-9519 Fixed the issue that the layout of punctuation was inconsistent when converting Word to PDF.
Bug SPIREDOC-9530 Fixed the issue that field text style settings did not take effect after updating fields.
Bug SPIREDOC-9532 Fixed the issue that retrieving document information from RTF documents failed.
Bug SPIREDOC-9574 Fixed the issue that character spacing was inconsistent after loading and saving the document as a new document.
Bug SPIREDOC-9582 Fixed the issue that artistic font styles were inconsistent after loading and saving the document as a new document.
Bug SPIREDOC-9584 Fixed the issue that the position of content was inconsistent when converting Word to images.
Bug SPIREDOC-9613 Fixed the issue that the content was garbled when converting Word to PDF.
Bug SPIREDOC-9584 Fixed the issue that content positioning is inconsistent when converting Word to images.
Bug SPIREDOC-9626 Fixed the issue that decimal percentages were lost in pie charts when converting Word to images.
Bug SPIREDOC-9628 Fixed the issue that the program threw a java.lang.NullPointerException exception when loading Doc documents.
Bug SPIREDOC-9645 Fixed the issue that editable areas were not editable after replacing images in Docx documents.
Bug SPIREDOC-9687 Fixed the issue that selected checkboxes were missing when converting Word to PDF.
Bug SPIREDOC-9719 Fixed the issue that the table formatting was incorrect when converting Word to PDF.
Click the link below to download Spire.Doc for Java 11.8.1: