Spire.Doc for Java 3.8.1

Spire.Doc for Java 3.8.1 supports getting types of watermarks

We're glad to announce the release of Spire.Doc for Java 3.8.1. This version supports setting "Hyperlink base" document property, and also supports getting type of watermark. Besides, some issues that occurred while converting .xml to .docx, HTML to PDF, Word to PDF, loading and saving Word document are fixed successfully. Please find more specific details from the following list.

Here is a list of changes made in this release

Category ID Description
New Feature SPIREDOC-4776 Supports setting "Hyperlink base" document property.
doc.getBuiltinDocumentProperties().setHyperLinkBase(data);
New Feature SPIREDOC-4847 Supports getting types of watermarks.
WatermarkBase waterbase = doc.getDocument().getWatermark();
String waterType = waterbase.getType().name();
int value =waterbase.getType().getValue();
Bug SPIREDOC-4056 Fixes the issue that the application threw "java.lang.StringIndexOutOfBoundsException" when loading document.
Bug SPIREDOC-4098 Fixes the issue that the application threw "ClassCaseException" when saving document after removing section break.
Bug SPIREDOC-4428 Fixes the issue that the application threw "Attempted to read past the end of the stream" when loading document.
Bug SPIREDOC-4756 Fixes the issue that there were extra boxes when converting HTML to PDF.
Bug SPIREDOC-4801 Fixes the issue that the application threw "NullPointerException" when loading document.
Bug SPIREDOC-4804 Fixes the issue that the application threw "Property value is of unsupported type" when converting .xml to .docx.
Bug SPIREDOC-4813 Fixes the issue that the page number and content format were incorrect when converting Word to PDF.
Bug SPIREDOC-4575 Fixes the issue that the shading of table was incorrect when converting Word to PDF.
Click the link to download Spire.Doc for Java 3.8.1: