Spire.Office for Java 3.12.0

Spire.Office for Java 3.12.0 is released

We're pleased to announce the release of Spire.Office for Java 3.12.0. This version contains some fantastic features, such as Spire.PDF for Java supports converting SVG to PDF, PDF to PdfA1A/PdfA1B/PdfA2A/PdfA2B/PdfA3A/PdfA3B, and PDF that has multiple pages to one Excel sheet. Meanwhile, a series of issues that occurred when loading, converting, manipulating Word, Excel, PDF and PowerPoint documents have been successfully fixed. More details are given below.

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

Here is a list of changes made in this release

Spire.Doc for Java

Category ID Description
Bug SPIREDOC-5011 Fixes the issue that after accepting revisions, there was additional blank tables when converting Word to PDF.
Bug SPIREDOC-5073 Fixes the issue that the document name of the inserted attachment was confused.
Bug SPIREDOC-5101 Fixes the issue that text direction was change when converting Word to PDF.
Bug SPIREDOC-5121 Fixes the issue that removing the background color of the shape caused the text color to change.
Bug SPIREDOC-5206 Fixes the issue that the added image watermark had no adaptive image size.

Spire.PDF for Java

Category ID Description
New Feature SPIREPDF-3011
SPIREPDF-3243
SPIREPDF-3434
Adjusts converting PDF/A document interface to Spire.Pdf.Conversion, and supports converting to PdfA1A/PdfA1B/PdfA2A/
PdfA2B/PdfA3A/PdfA3B.
PdfStandardsConverter converter = new PdfStandardsConverter(inputPath);
converter.toPdfA1B(OutputPath);
New Feature SPIREPDF-3596 Supports converting SVG to PDF file.
PdfDocument doc1 = new PdfDocument();
doc1.loadFromSvg("svgFile.svg");
doc1.saveToFile("pdfFile.pdf", FileFormat.PDF);
New Feature SPIREPDF-3723 Supports getting the reason and location info of signature.
String location = signatureOne.getLocationInfoLabel();
String reason = signatureOne.getReason(); 
New Feature SPIREPDF-3725 Supports converting PDF that has multiple pages to one Excel sheet.
PdfDocument pdf = new PdfDocument();
pdf.loadFromFile(PDFFile);
pdf.getConvertOptions().setConvertToOneSheet(true);
pdf.saveToFile(ExcelFile,FileFormat.XLSX);
New Feature SPIREPDF-3726 Supports setting lines to determine cells when converting PDF to Excel.
PdfDocument pdf = new PdfDocument();
pdf.loadFromFile(PDFFile);
doc.getConvertOptions().setLinesDetermineCell(true)
pdf.saveToFile(ExcelFile,FileFormat.XLSX); 
Bug SPIREPDF-3659 Fixes the issue that no PDF could be generated when using QT plugin to convert HTML.
Bug SPIREPDF-3722 Fixes the issue that the application threw "java.lang.NullPointerException" when extracting text from PDF pages.
Bug SPIREPDF-3751 Fixes the issue that the application cost long time to convert PDF to image.
Bug SPIREPDF-3761 Fixes the issue that after converting PDF to Word, the text became image format.
Bug SPIREPDF-3763 Fixes the issue that after filling data in textbox field, there was extra border of field in generated PDF while viewing in browser.
Bug SPIREPDF-3772 Fixes the issue that setting the PdfVerticalAlignment.Middle cannot vertically align image in grid cell.
Bug SPIREPDF-3798 Fixes the issue that failed to get the textbox field.

Spire.XLS for Java

Category ID Description
Bug SPIREXLS-2109 Fixes the issue that the inserted OLE object in the resulting file could not be opened normally.
Bug SPIREXLS-2109 Fixes the issue that the obtained formula value was incorrect.
Bug SPIREXLS-2911 Fixes the issue that the content was incorrect after converting Excel to PDF.
Bug SPIREXLS-2938 Fixes the issue that the text was cut off after converting Excel to PDF and images.

Spire.Presentation for Java

Category ID Description
Bug SPIREPPT-1038 Fixes the issue that the content was unclear when converting PPT to TIFF.
Bug SPIREPPT-1361 Fixes the issue that the content was incorrect when converting PPT to image on CentOS.
Bug SPIREPPT-1378 Fixes the issue that the application threw "Argument width[66] or height[0] cannot be less or equal to zero" when converting shape to image.
Bug SPIREPPT-1387 Fixes the issue that the application threw "java.lang.NullPointerException" when loading PPT.