Spire.PDF for Java 9.7.0 adds the new interface for converting PDF to Word

2023-07-07 06:25:20

We are glad to announce the release of Spire.PDF for Java 9.7.0. This version adds the new interface for converting PDF to Word and the new method for converting PDF to HTML. It also enhances the conversion from PDF to PowerPoint, HTML, images. In addition, some known issues are fixed in this version, such as the issue that the setting of the crop frame didn't work. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature - Adds the new interface for converting PDF to Word.
PdfToWordConverter converter(inputPath);
converter.saveToDocx(OutputPath);
converter.dispose();
New feature - Adds the new method for converting PDF to HTML.
pdfDocument.getConvertOptions().setPdfToHtmlOptions(bool useEmbeddedSvg, bool useEmbeddedImg)
pdfDocument.getConvertOptions().setPdfToHtmlOptions(bool useEmbeddedSvg, bool useEmbeddedImg, int maxPageOneFile)
Bug SPIREPDF-6008 Fixes the issue that the font size was changed in PowerPoint documents converted from PDF.
Bug SPIREPDF-6035 Fixes the issue that the setting of the crop frame didn't work.
Bug SPIREPDF-6046 Fixes the issue that the keyword search failed.
Bug SPIREPDF-6049 Fixes the issue that the exception threw "Parameter 'emSize' 0.0 is invalid" when searching keywords.
Bug SPIREPDF-6050 Fixes the issue that the content overlapped when converting PDF to HTML.
Bug SPIREPDF-6061 Fixes the issue that the exception threw "No have this JpegTablesMode" when adding images.
Bug SPIREPDF-6073 Fixes the issue that the content was cropped after converting PDF to images.
Bug SPIREPDF-6083 Fixes the issue that the vertical alignment and bottom alignment of text were incorrect in the grid.
Click the link below to download Spire.PDF for Java 9.7.0: