Spire.Office for Java 3.7.3

Spire.Office for Java 3.7.3 is released

We're pleased to announce the release of Spire.Office for Java 3.7.3. This version adds some new features, for example, Spire.Presentation supports getting the prototype of a shape in the slide layout and getting the current theme color settings, Spire.PDF supports setting the author and subject of PdfPopupAnnotation. At the same time, a series of issues that occurred when loading, converting and manipulating Word, Presentation and PDF files have been successfully fixed. More details are given below.

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

Here is a list of changes made in this release

Spire.Doc for Java

Category ID Description
Bug SPIREDOC-4632 Fixes the issue that the chart was missing when converting Word to PDFA.
Bug SPIREDOC-4673 Fixes the issue that the application threw an error" java.lang.IllegalStateException: Cannot find part '/word/footnotes.xml'" when loading Word file.
Bug SPIREDOC-4701 Fixes the issue that the converted PDFA file didn't conform to standard specifications.
Bug SPIREDOC-4705 Fixes the issue that the name of font retrieved was incorrect.
Bug SPIREDOC-4772 Fixes the issue that the application threw an error "No have this value 191" when loading Word file.

Spire.Presentation for Java

Category ID Description
New Feature SPIREPPT-1201 Supports getting the prototype of a shape in the slide layout.
Shape layoutPrototype = shape.getLayoutPrototype();
New Feature SPIREPPT-1216 Supports getting the current theme color settings.
StringBuilder sb = new StringBuilder();
IMasterSlide masterSlide = presentation.getMasters().get(0);
for (SchemeColor schemeColor : masterSlide.getColorMap().keySet()) {
masterSlide.getColorMap().get(schemeColor);
String content = "key : " +schemeColor +"\tvalue : "+
masterSlide.getColorMap().get(schemeColor) + "\r\n";
sb.append(content);
}
Bug SPIREPPT-1201 Fixes the issues that there were extra line shadows after converting PPT to PDF.
Bug SPIREPPT-1215 Fixes the issue that the application threw the "ClassCastException" when getting the raw scheme color of the text.

Spire.PDF for Java

Category ID Description
New Feature SPIREPDF-3333 Supports setting author and subject of PdfPopupAnnotation.
PdfPopupAnnotation annotation = new PdfPopupAnnotation(rectangle2D, markupText);
annotation.setAuthor("e-iceblue");
annotation.setSubject("subject_popup"); 
Bug SPIREPDF-3291 Fixes the issue that the index of image in page.ImagesInfo was inconsistent with the index of image in page.ReplaceImage method.
Bug SPIREPDF-3360 Fixes the issue that the application threw the "java.lang.UnsatisfiedLinkError" exception when using QT to convert html to PDF on MAC.
Bug SPIREPDF-2968 Fixes the issue that the font style was incorrect after converting PDF to Word.
Bug SPIREPDF-3334 Fixes the issue that the content format was incorrect after converting PDF to Word.
Bug SPIREPDF-3337 Fixes the issue that the content was incorrect after converting PDF to image.
Bug SPIREPDF-3356 Fixes the issue that failed to find cross-line text in PDF.
Bug SPIREPDF-3378 Fixes the issue that the application threw the "OutOfMemoryError" when converting PDF to image in parallel thread.
Bug SPIREPDF-3380 Fixes the issue that the application threw the "OutOfMemoryError" when converting PDF to HTML.
Bug SPIREPDF-3386 Fixes the issue that setting the white color image as PDF background, it became to gray color.
Bug SPIREPDF-3388 Fixes the issue that findText method generated many temporary files in Tomcat temp folder.
Bug SPIREPDF-3391 Fixes the issue that failed to find text in PDF with two columns.
Bug SPIREPDF-3394 Fixes the issue that failed to extract text from XPS file.