Spire.PDF for Java 9.4.9 supports determining if a PDF stream document is encrypted

2023-04-27 06:59:58

We are happy to announce the release of Spire.PDF for Java 9.4.9. This version supports determining whether a PDF stream document is encrypted or not. It also enhances the conversion from PDF to Word, HTML, and images. In addition, some known issues are fixed in this version, such as the issue that an error occurred when using the product with reflection. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPDF-5855 Supports determining whether a PDF stream document is encrypted or not.
boolean result = PdfDocument.isPasswordProtected(PDFstream);
Bug SPIREPDF-5323 Fixed the issue that content was cropped after converting PDF to images.
Bug SPIREPDF-5652 Fixed the issue that text content displayed incorrectly due to extra characters before and after the font name when converting PDF to Word.
Bug SPIREPDF-5878 Fixed the issue that a exception "java.lang.NullPointerException: Cannot invoke 'java.io.InputStream.close()' because 'a' is null" occurred when using the product with reflection.
Bug SPIREPDF-5879 Fixed the issue that memory overflowed when converting PDF to images.
Bug SPIREPDF-5914 Fixed the issue that the bold font effect lost after converting PDF to HTML.
Bug SPIREPDF-5926 Fixed the issue that the program threw StringIndexOutOfBoundsException exception when converting PDF to images.
Click the link below to download Spire.PDF for Java 9.4.9: