Spire.Office for Java 10.2.0 is released

Spire.Office for Java 10.2.0 is released

2025-02-28 08:27:37

We are excited to announce the release of Spire.Office for Java 10.2.0. In this version, Spire.Doc for Java optimizes the performance of the comparison feature; Spire.XLS for Java enhances conversions from Excel to images and PDF; Spire.Presentation for Java enhances the conversion from PowerPoint to images; Spire.PDF for Java supports extracting video and audio content from PDF documents. Besides, a lot of known issues are fixed successfully in this version. More details are listed below.

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

Here is a list of changes made in this release

Spire.Doc for Java

Category ID Description
Bug SPIREDOC-11067 Fixes the issue that the program threw the "NullPointerException" when adding HTML content to a StructureDocumentTag.
Bug SPIREDOC-11074 Fixes the issue that extra square boxes appeared in bulleted lists when converting Word to PDF.
Bug SPIREDOC-11080 Fixes the issue that the program threw the "Specified argument was out of the range of valid values" error when loading a Word document.
Bug SPIREDOC-11088 Fixes the issue that the program threw the "NullPointerException" when calling Document.updateTableOfContents() method.
Bug SPIREDOC-11089 Fixes the issue that the word count statistics were incorrect.
Bug SPIREDOC-11091 Optimizes the performance of the comparison feature.

Spire.XLS for Java

Category ID Description
Bug SPIREXLS-5575 Fixes the issue that the program threw a "NullPointerException" when loading an XLSX document.
Bug SPIREXLS-5668 Fixes the issue that incorrect colors existed when converting Excel to images.
Bug SPIREXLS-5685 Fixes the issue that incomplete content displayed when converting Excel to PDF.

Spire.Presentation for Java

Category ID Description
Bug SPIREPPT-2669 Fixes the issue that the shadow effect of text was lost when converting PowerPoint to images.
Bug SPIREPPT-2717 Optimizes the function of adding annotations for specific text.
Bug SPIREPPT-2718 Fixes the issue that it threw "StringIndexOutOfBoundsException" when adding annotations for specific text.
Bug SPIREPPT-2719 Fixes the issue that the effect of converting PowerPoint to images was incorrect.
Bug SPIREPPT-2722 Fixes the issue that it threw "Value cannot be null" when saving a PowerPoint document.

Spire.PDF for Java

Category ID Description
New feature SPIREPDF-7349 Supports extracting video and audio content from PDF documents.
PdfDocument pdf = new PdfDocument();
pdf.loadFromFile(inputFile);
FileOutputStream outputFileStream =null;
for (int i = 0; i < pdf.getPages().getCount(); i++)
{
	PdfPageBase page = pdf.getPages().get(i);
	PdfAnnotationCollection ancoll = page.getAnnotations();
	for (int j = 0; j < ancoll.getCount(); j++)
	{
		PdfRichMediaAnnotationWidget MediaWidget = (PdfRichMediaAnnotationWidget)ancoll.get(j);
		byte[] data = MediaWidget.getRichMediaData();
		String embedFileName = MediaWidget.getRichMediaName();
		outputFileStream = new FileOutputStream(String.format(outputFile + embedFileName));
		outputFileStream.write(data);
	}
}
Bug SPIREPDF-7276 Fixes the issue that the content overlapped when drawing grid table text.
Bug SPIREPDF-7295 Fixes the issue that the program threw an exception NullPointerException when merging PDF documents in multiple threads.
Bug SPIREPDF-7330 Fixes the issue that the result of calling PDF.getForm().isFlatten(true) was incorrect.
Bug SPIREPDF-7341 Fixes the issue that the program threw the problem that font could not be obtained when converting PDF to OFD in Centos7.

Coupon Code Copied!

Christmas Sale

Celebrate the season with exclusive savings

Save 10% Sitewide

Use Code:

View Campaign Details