Spire.Doc for Java 4.5.1

Spire.Doc for Java 4.5.1 supports verifying Word protection passwords

We are happy to announce the release of Spire.Doc for Java 4.5.1.This version supports verifying Word protection passwords, enhances the conversions from Word to PDF/HTML/SVG and also fixes the issues occurred in the process of loading and merging Word documents. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREDOC-5872 Supports checking protection passwords for Word documents.
Document document = new Document();
document.loadFromFile(input);
boolean checkResult = document.checkProtectionPassWord(password);
New feature SPIREDOC-3768 Supports adding digital signatures to Word files.
//load word document
String input="input.docx";
Document doc = new Document();
doc.loadFromFile(input);

//save the document with adding signature
String result = "AddDigitalSignature.docx";
doc.saveToFile(result, FileFormat.Docx, "gary.pfx", "e-iceblue");
Bug SPIREDOC-4034 Fixes the issue that the application threw the error "ArrayIndexOutOfBoundsException" when updating the TOC.
Bug SPIREDOC-4105 Fixes the issue that the application threw the error "ArithmeticException" when updating the TOC.
Bug SPIREDOC-4422 Fixes the issue that the application threw the error "GC overhead limit exceeded" when updating the TOC.
Bug SPIREDOC-4561 Fixes the issue that the application threw the error "Width (0) and height (0) cannot be <= 0" when loading Word files.
Bug SPIREDOC-4599
SPIREDOC-4723
SPIREDOC-4729
Fixes the issue that the underlines were incorrect after converting Word to PDF.
Bug SPIREDOC-4806 Fixes the issue that the location of the inserted comment was incorrect.
Bug SPIREDOC-4860 Fixes the issue that the application threw the error "Cannot allocate so many bytes. Use LoadPartialPixels instead" when converting Word to PDF.
Bug SPIREDOC-4868
SPIREDOC-5573
SPIREDOC-5690
SPIREDOC-5774
SPIREDOC-5787
Fixes the issue that the content was incorrect after converting Word to PDF.
Bug SPIREDOC-5198
SPIREDOC-5546
Fixes the issue that the underlines were missing after converting Word to SVG.
Bug SPIREDOC-5231 Fixes the issue that the application threw the error "An element with the same key already exists in the dictionary" when saving files after merging them.
Bug SPIREDOC-5347
SPIREDOC-5476
Fixes the issue that the underlines were missing after converting Word to PDF.
Bug SPIREDOC-5482 Fixes the issue that there were extra spaces after converting Word to PDF.
Bug SPIREDOC-5487 Fixes the issue that the punctuation was incorrect after converting Word to PDF.
Bug SPIREDOC-5562 Fixes the issue that the application hang when loading HTML files.
Bug SPIREDOC-5574 Fixes the issue that it generated blank pages after converting HTML to Word.
Bug SPIREDOC-5600 Fixes the issue that it took up a lot of memory and crashed application when converting Word to PDF.
Bug SPIREDOC-5670 Fixes the issue that the links of the TOC were missing after converting Word to PDF.
Bug SPIREDOC-5687 Fixes the issue that the content overlapped after converting Word to PDF.
Bug SPIREDOC-5693 Fixes the issue that the content was incorrect after converting Word to HTML.
Bug SPIREDOC-5711 Fixes the issue that the text position was shifted after converting Word to SVG.
Bug SPIREDOC-5712 Fixes the issue that the pagination was incorrect after converting Word to SVG.
Bug SPIREDOC-5733 Fixes the issue that the application threw the error "NullPointerException" when converting Word to PDF.
Bug SPIREDOC-5756 Fixes the issue that the image content was cut off after converting Word to PDF
Bug SPIREDOC-5770 Fixes the issue that the application threw the error "Value can not be less 0" when converting Word to PDF.
Bug SPIREDOC-5782 Fixes the issue that the content was missing after converting Word to PDF.
Bug SPIREDOC-5783 Fixes the issue that the content was incorrect after replacing bookmarks.
Bug SPIREDOC-5784 Fixes the issue that the SaveDate field was not updated correctly after replacing the bookmark and saving the files.
Bug SPIREDOC-5871 Fixes the issue that the content was changed after loading and saving files.
Bug SPIREDOC-5897 Fixes the issue that the restricted editing area was missing after accepting changes.
Click the link to download Spire.Doc for Java 4.5.1: