GroupDocs.Watermark for Java 21.3 Release Notes

Major Features

There are the following features, enhancements and fixes in this release:

  • Remove obsolete API (Legacy namespace)

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
WATERMARKNET-1274Remove obsolete API (Legacy namespace)Improvement
WATERMARKNET-1282Implement logging functionalityImprovement
WATERMARKNET-1329Add custom PreviewOptions for Office document formatsImprovement
WATERMARKNET-1328Add page info list to IDocumenInfoImprovement

Public API and Backward Incompatible Changes

Remove obsolete API (Legacy namespace)

All types from the com.groupdocs.watermark.legacy package were removed.

Public API changes

All types from the com.groupdocs.watermark.legacy package were removed

Use cases

See the migration notes for brief comparison of the old and new APIs.

Implement logging functionality

This improvement allows you to record events that occur in GroupDocs.Watermark library.

Public API changes

ILogger interface has been added to com.groupdocs.watermark.options package.

getLogger() method has been added to com.groupdocs.watermark.WatermarkerSettings class.

setLogger() method has been added to com.groupdocs.watermark.WatermarkerSettings class.

Add custom PreviewOptions for Office document formats

This improvement enables custom PreviewOptions to be used for each of supported Office document format.

Public API changes

DiagramPreviewOptions class had been added to com.groupdocs.watermark.options package.

EmailPreviewOptions class had been added to com.groupdocs.watermark.options package.

PdfPreviewOptions class had been added to com.groupdocs.watermark.options package.

PresentationPreviewOptions class had been added to com.groupdocs.watermark.options package.

SpreadsheetPreviewOptions class had been added to com.groupdocs.watermark.options package.

WordProcessingPreviewOptions class had been added to com.groupdocs.watermark.options package.