News Category

Spire.Doc for Java 10.5.10 supports setting "Snap to grid when document grid is defined" for word file paragraph

2022-05-27 10:11:11

We are pleased to announce the release of Spire.Doc for Java 10.5.10. This version supports setting “Snap to grid when document grid is defined” for word file paragraph, and enhances the conversion from Word to PDF. In addition, it fixes some known issues such as the page number obtained was incorrect. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREDOC-7777 Supports setting "Snap to grid when document grid is defined" for word file paragraph.
Document document = new Document(inputFile);
Paragraph pa = document.getSections().get(0).getParagraphs().get(0);
pa.getFormat().setSnapToGrid(true);
Bug SPIREDOC-6873 Fixes the issue that it is failed to open the result file after saving the .docx file to .doc.
Bug SPIREDOC-7126
SPIREDOC-7630
SPIREDOC-7759
SPIREDOC-7797
Fixes the issue that the content format was incorrect after converting word file to PDF.
Bug SPIREDOC-7222 Fixes the issue that the table position was incorrect after converting word file to PDF.
Bug SPIREDOC-7261 Fixes the issue that the <pre> tag didn't take effect when converting Html to word file.
Bug SPIREDOC-7373 Fixes the issue that the table borders were changed after saving as another .docx file.
Bug SPIREDOC-7571 Fixes the issue that it is failed to convert SmartArt to image.
Bug SPIREDOC-7589
SPIREDOC-7618
SPIREDOC-7746
SPIREDOC-7770
Fixes the issue that the paginations were incorrect after converting word file to PDF.
Bug SPIREDOC-7631 Fixes the issue that the content was lost after converting SmartArt to image.
Bug SPIREDOC-7657 Fixes the issue that the application threw "AssertionError" when converting word file to PDF.
Bug SPIREDOC-7703 Fixes the issue that the image color was incorrect after converting word file to PDF.
Bug SPIREDOC-7710 Fixes the issue that the table formart was incorrect after converting Html to word file.
Bug SPIREDOC-7729 Fixes the issue that the application threw "NullPointerException" when saving the word file Shape to image.
Bug SPIREDOC-7740 Fixes the issue that the page number format was incorrect after converting word file to PDF.
Bug SPIREDOC-7745 Fixes the issue that the application threw "NullPointerException" when converting word file to PDF.
Bug SPIREDOC-7755 Fixes the issue that the application threw "X509CertImpl" error when using on IBM websphere.
Bug SPIREDOC-7775 Fixes the issue that the page number obtained was incorrect.
Bug SPIREDOC-7794 Fixes the issue that the application threw "Input string was not in the correct format" when loading a word file.
Bug SPIREDOC-7832 Fixes the issue that the application threw "IllegalStateException: Cannot convert 'horz'" when converting word file to PDF.
Click the link to download Spire.Doc for Java 10.5.10: