Spire.Office for Java 4.8.0

Spire.Office for Java 4.8.0 is released

We are happy to announce the release of Spire.Office for Java 4.8.0. This version brings some new features, for example, Spire.Presentation for Java supports saving PPT as PPTX_2016; Spire.Doc for Java supports checking whether a document is password protected. In addition, a lot of bugs have been successfully fixed. More details are listed as follows.

Click the link to download Spire.Office for Java 4.8.0:

Here is a list of changes made in this release

Spire.XLS for Java

Category ID Description
Bug SPIREXLS-3254 Fixes the issue that the application threw the error "Invalid cell name" when loading Excel files.
Bug SPIREXLS-3272 Fixes the issue that the some content was missing after copying Excel files.
Bug SPIREXLS-3287 Fixes the issue that the application threw the error "NullPointerException" when loading Excel files.
Bug SPIREXLS-3288 Fixes the issue that the content was incorrect after converting Excel to PDF.

Spire.PDF for Java

Category ID Description
Bug SPIREPDF-4318 Fixes the issue that the content format was incorrect after converting PDF to Word.
Bug SPIREPDF-4332 SPIREPDF-4411 Fixes the issue that the application threw the error "Has no define cmap char" when extracting text from PDF.
Bug SPIREPDF-4355 Fixes the issue that the setExportTextOCRHandler method failed to pass images.
Bug SPIREPDF-4407 Fixes the issue that the content was incorrect after converting PDF to PDF/A1A.
Bug SPIREPDF-4443 Fixes the issue that the generated image was blank after converting PDF to images.
Bug SPIREPDF-4451 Fixes the issue that the application threw the error "NullPointerException" when extracting text from PDF.
Bug SPIREPDF-4458 SPIREPDF-4461 Fixes the issue that the file size of the resulting files was too large after splitting the PDF file.

Spire.Presentation for Java

Category ID Description
New feature SPIREPPT-1592 Supports saving the PPT as PPTX_2016.
presentation.saveToFile(path, FileFormat.PPTX_2016);
Optimization SPIREPPT-1160 Optimizes the speed of converting shapes in PPT files to images.
Optimization SPIREPPT-1168 Optimizes the speed of handling PPT files.
Optimization SPIREPPT-1345 Optimizes the speed of converting PPT files to images
Optimization SPIREPPT-1572 Optimizes the speed of adding watermark to PPT files
Optimization SPIREPPT-1605 Optimizes the speed of removing blank slides from PPT.
Bug SPIREPPT-1590 Fixes the issue that the size of the generated file was increased after replacing the pictures in PPT.
Bug SPIREPPT-1593 Fixes the issue that when converting PPT file to images, the content of the generated image was lost.
Bug SPIREPPT-1596
SPIREPPT-1583
Fixes the issue that when converting PPT file to images, the content of generated image was wrong.
Bug SPIREPPT-1616 Fixes the issue that after operating the PPT file, the custom properties were missing.
Bug SPIREPPT-1620 Fixes the issue that after saving the PPT file to the original path, the generated file opened with an error.
Bug SPIREPPT-1621 Fixes the issue that the program hung when converting PPT files to HTML.
Bug SPIREPPT-1624 Fixes the issue that when adding comments to the PPT file, the location of comments was wrong.

Spire.Doc for Java

Category ID Description
New feature SPIREDOC-5925
SPIREDOC-6012
Supports checking whether a document is password protected.
Document.isPassWordProtected()
Bug SPIREDOC-3839 Fixes the issue that the some content was missing after converting Word to PDF.
Bug SPIREDOC-4388 Fixes the issue that the application hung when adding the TOC.
Bug SPIREDOC-4727 Fixes the issue that the table border was incorrect after converting Word to PDF.
Bug SPIREDOC-4865
SPIREDOC-6179
SPIREDOC-6328
Optimizes the time for converting Word to PDF.
Bug SPIREDOC-4995 Fixes the issue that the application threw the error "NullPointerException" when loading the file.
Bug SPIREDOC-5160
SPIREDOC-6242
Fixes the issue that the underline was incorrect after converting Word to PDF.
Bug SPIREDOC-5323 Fixes the issue that it returned an incorrect result when checking whether the document has changes.
Bug SPIREDOC-5411 Fixes the issue that the application threw the error "Input string was not in the correct format" when loading the file.
Bug SPIREDOC-5561 Optimizes the time for converting Word to SVG.
Bug SPIREDOC-6109 Fixes the issue that the inserted watermark was incorrect.
Bug SPIREDOC-6111 Fixes the issue that the table content was missing after converting WPS file to PDF.
Bug SPIREDOC-6145 Fixes the issue that the application threw the error "Object reference not set to an instance of an object" when extracting text from Word file.
Bug SPIREDOC-6157 Fixes the issue that the application threw the error "NullPointerException" when comparing Word files.
Bug SPIREDOC-6163 Fixes the issue that the application threw the error "StringIndexOutOfBoundsException" when converting Word to PDF.
Bug SPIREDOC-6175 Fixes the issue that the application threw the error "Specified argument was out of the range of valid values" when converting HTML to Word.
Bug SPIREDOC-6193
SPIREDOC-6221
Fixes the issue that the application hung when converting Word to PDF.
Bug SPIREDOC-6196 Fixes the issue that the application threw the error "Not supported deleting content between bookmarks in different paragraphs" when deleting bookmarks.
Bug SPIREDOC-6231
SPIREDOC-6374
Fixes the issue that the application threw the error "StackOverflowError" when converting Word to PDF.
Bug SPIREDOC-6239
SPIREDOC-6263
Fixes the issue that the content was incorrect after converting Word to PDF.
Bug SPIREDOC-6241 Fixes the issue that the inserted math equation was incorrect.
Bug SPIREDOC-6243 Fixes the issue that the application threw the error "Parameter 'emSize' 0.0 is invalid" when appending HTML string to a paragraph.
Bug SPIREDOC-6254 Fixes the issue that the content was incorrect after converting Word to HTML.
Bug SPIREDOC-6268 Fixes the issue that the application threw the error "StackOverflowError" when comparing Word files.
Bug SPIREDOC-6270 Fixes the issue that the application threw the error "OutOfMemoryError" when converting Word to PDF.
Bug SPIREDOC-6271 Fixes the issue that the application threw the error "Cannot use auto format type to save file" when saving Word file to stream.
Bug SPIREDOC-6276 Fixes the issue that some content was missing after converting WPS file to PDF.
Bug SPIREDOC-6286 Fixes the issue that the application threw the error "Attempted to read past the end of the stream" when loading the file.
Bug SPIREDOC-6287 Fixes the issue that it failed to get the list text.
Bug SPIREDOC-6290 Fixes the issue that the application threw the error "Index is less than 0 or more than or equal to the list count" when converting WPS file to PDF.
Bug SPIREDOC-6291 Fixes the issue that the application threw the error "Sync failed" when comparing Word files.
Bug SPIREDOC-6310 Fixes the issue that the application threw the error "This is not a structured storage file" when loading the file.
Bug SPIREDOC-6329 Fixes the issue that the textbox border was missing after converting Word to PDF.
Bug SPIREDOC-6332
SPIREDOC-6333
Fixes the issue that the table content was incorrect after converting Word to PDF.
Bug SPIREDOC-6335 Fixes the issue that the application threw the error "NumberFormatException" when converting Word to PDF stream.
Bug SPIREDOC-6339 Fixes the issue that the size of the inserted image was incorrect.
Bug SPIREDOC-6375 Fixes the issue that the application threw the error "Document revisions has been found" when comparing Word files.
Bug SPIREDOC-6380 Fixes the issue that the size of the added image watermark was incorrect.
Bug SPIREDOC-6389 Fixes the issue that the text style was incorrect after replacing the text.
Bug SPIREDOC-3833 Fixes the issue that the application hung when getting the section count.
Bug SPIREDOC-4376 Fixes the issue that the application threw the error "Input string was not in the correct format" when updating the TOC.
Bug SPIREDOC-4805 Fixes the issue that the application threw the error "Unexpected EOF parsing start tag 'span'" when loading Html files.
Bug SPIREDOC-4955
SPIREDOC-5058
SPIREDOC-6072
SPIREDOC-6074
Fixes the issue that the content was incorrect after converting Word to PDF.
Bug SPIREDOC-5181 Fixes the issue that the inserted math equations containing Chinese characters were incorrect.
Bug SPIREDOC-5427 Fixes the issue that the page numbers were incorrect after converting Word to PDF.
Bug SPIREDOC-5528 Fixes the issue that some text was missing after converting Word to PDF.
Bug SPIREDOC-5720
SPIREDOC-6136
Fixes the issue that the application threw the error "NullPointerException" when loading Word files.
Bug SPIREDOC-5974 Fixes the issue that the content was incorrect after performing mail merge and converting to PDF.
Bug SPIREDOC-6019 Fixes the issue that the application threw the error "index out of range" when converting Html to Word.
Bug SPIREDOC-6028 Fixes the issue that the generated document opened too slowly in Google Chrome after converting Word to PDF.
Bug SPIREDOC-6029
SPIREDOC-6156
Fixes the issue that the text overlapped after converting Word to PDF.
Bug SPIREDOC-6108 Fixes the issue that the application threw the error "IndexOutOfBoundsException" when converting RTF to PDF.
Bug SPIREDOC-6151 Fixes the issue that the restricted editing area was missing after loading and saving Word files.
Bug SPIREDOC-6169 Fixes the issue that the application threw the error "NullPointerException" when saving the file.
Bug SPIREDOC-6185 Optimizes the time of converting Word to PDF.
Bug SPIREDOC-6222 Fixes the issue that the application threw the error "Value was either too large or too small for an Int32" when loading Word files.