We’re pleased to announce the release of GroupDocs.Watermark for Java 26.11, available as of November 2026. This release focuses on tiled watermarks: two new tile patterns are available, and the tile layout now works the same way as in GroupDocs.Watermark for .NET in every document format. Text watermarks can use styled fonts from a folder, the evaluation mode becomes simpler and less restrictive, Word and PowerPoint documents are loaded without fetching external resources, and the bundled libraries are updated.
What’s new in this release
| Key | Summary | Category |
|---|---|---|
| WATERMARKNET-1874 | One-third offset tile pattern: TileType.OneThirdOffset |
Feature |
| WATERMARKNET-1881 | Basket weave tile pattern: TileType.BasketWeave |
Feature |
| WATERMARKJAVA-152 | Font(String, String, float, int): a font from a folder with a FontStyle combination |
Feature |
| WATERMARKNET-1994, WATERMARKNET-2024 | Tile layout ported from .NET: constant line spacing under rotation, rotated rows reach the page edges | Enhancement |
| WATERMARKNET-1872 | TileOptions.RotateAroundCenter renamed to RotateAroundOrigin; the old accessors are deprecated |
Enhancement |
| WATERMARKNET-1946 | PDF: bold and italic text watermarks use the bold and italic faces of a font from a folder | Enhancement |
| WATERMARKJAVA-153, WATERMARKJAVA-145 | Evaluation mode: only the GroupDocs evaluation message, in every format and with the current year | Enhancement |
| WATERMARKNET-2210 | Evaluation mode: no limit on the number of watermarks per document | Enhancement |
| WATERMARKNET-2211 | Evaluation mode: document parts can be added and removed | Enhancement |
| WATERMARKNET-2217 | Word and PowerPoint documents are loaded without fetching external resources | Enhancement |
| WATERMARKJAVA-182 | Aspose libraries updated | Enhancement |
| WATERMARKJAVA-182 | Apache Commons updated; Jackson is no longer bundled | Enhancement |
| WATERMARKNET-2261 | Presentation previews are rendered directly from the slide | Enhancement |
| — | PdfAnnotationType: ColorBar, TrimMark, BleedMark, RegistrationMark and PageInformation |
Enhancement |
| — | The jar manifest declares Automatic-Module-Name: com.groupdocs.watermark |
Enhancement |
| WATERMARKJAVA-176 | Maven metadata: product name, description, organization, SCM, license and developers | Enhancement |
| WATERMARKJAVA-199 | EULA and documentation links point to the current pages | Enhancement |
| WATERMARKNET-1983 | Tiled watermarks on slides, worksheets and Word pages were shifted by the alignment; the line spacing had almost no effect on slides | Fix |
| WATERMARKNET-1985 | Wrong rotation coordinates of tiled watermarks | Fix |
| WATERMARKNET-1956 | Tile spacing accepted zero and negative values | Fix |
| WATERMARKJAVA-152 | Word: adding a watermark to selected pages without a lock threw NullPointerException |
Fix |
| WATERMARKJAVA-152 | Font(String, String, float, FontStyle) threw NullPointerException |
Fix |
| WATERMARKJAVA-152 | A copied text watermark lost its font folder, so tiled PDF text watermarks did not use the folder font | Fix |
| WATERMARKNET-2260 | Word: locking a watermark with AllowOnlyFormFields duplicated tables |
Fix |
| WATERMARKNET-2260 | Word: setLocked(true) with WordProcessingLockType.NoLock threw an exception without a message |
Fix |
| WATERMARKNET-2256, WATERMARKNET-2257 | Visio: VSD, VSS, VST and VDW documents could not be saved | Fix |
| WATERMARKNET-2213 | PDF: image search did not find the images of stamp artifacts | Fix |
| — | Email: an attachment could turn into an embedded object after saving and loading | Fix |
| — | License.setLicense(String) threw StringIndexOutOfBoundsException when an environment variable had a multi-line value |
Fix |
Behaviour changes to check before upgrading
- Tile layout. Tiled watermarks follow the .NET layout, so tile positions differ from those of 26.9 — most noticeably for rotated tiles and on slides, worksheets and Word pages. Check the output if you compare documents with reference files.
- Tile spacing must be positive.
MeasureValue.setValue()throws an exception with the message “Value must be greater than 0.” for zero and negative values. Before 26.11, such values produced overlapping tiles or a layout that never finished. - No external resources on load. Word and PowerPoint documents no longer download the content they link to: linked images,
INCLUDEPICTUREandINCLUDETEXTfields, and linked video posters. The links stay in the document; only previews and field updates no longer show the remote content. - Evaluation messages. Without a license, Word, Excel, PowerPoint, Visio and email documents again get the GroupDocs evaluation message instead of the evaluation messages of the Aspose libraries.
- VDW is saved as VDX. Aspose.Diagram can read VDW files but cannot write them, so a VDW document is saved in the VDX format.
- Presentation previews. Slides are rendered directly to the requested format, so preview pixels can differ slightly from 26.9. The image size is the same as before.
- Bundled third-party libraries. Jackson is no longer bundled in the jar.
Tiled watermarks
New tile patterns
TileType has two new values:
OneThirdOffset— every second row is shifted by two thirds of the tile step (by a half withOffset);BasketWeave— tiles are laid out in alternating groups of three horizontal and three vertical watermarks. The rotation angle of the watermark is ignored.
try (Watermarker watermarker = new Watermarker("document.pdf")) {
TextWatermark watermark = new TextWatermark("CONFIDENTIAL", new Font("Arial", 36));
watermark.setOpacity(0.3);
TileOptions tileOptions = new TileOptions();
tileOptions.setTileType(TileType.BasketWeave);
MeasureValue lineSpacing = new MeasureValue();
lineSpacing.setMeasureType(TileMeasureType.Percent);
lineSpacing.setValue(10);
tileOptions.setLineSpacing(lineSpacing);
MeasureValue watermarkSpacing = new MeasureValue();
watermarkSpacing.setMeasureType(TileMeasureType.Percent);
watermarkSpacing.setValue(10);
tileOptions.setWatermarkSpacing(watermarkSpacing);
watermark.setTileOptions(tileOptions);
watermarker.add(watermark);
watermarker.save("document-tiled.pdf");
}
Tile layout ported from .NET
The tile layout now works the same way as in GroupDocs.Watermark for .NET, in every document format:
- the line spacing stays the same when the tiles are rotated;
- rotated rows of tiles reach the edges of PDF pages and images;
- on slides, worksheets and Word pages, tiles are no longer shifted by the watermark alignment, and the line spacing works on slides.
RotateAroundOrigin
TileOptions.isRotateAroundOrigin() and TileOptions.setRotateAroundOrigin(boolean) were added:
true— the tiles are rotated around the bottom left corner of the document;false(the default) — each row of tiles is rotated relative to the left edge of the document.
isRotateAroundCenter() and setRotateAroundCenter(boolean) are deprecated and call the new methods, so existing code keeps working.
Fonts from a folder with a style
The new constructor combines a font folder with FontStyle constants:
public Font(String fontFamilyName, String folderPath, float size, int style)
Font font = new Font("DejaVu Sans", "/usr/share/fonts/truetype/dejavu", 36f, FontStyle.Bold | FontStyle.Italic);
TextWatermark watermark = new TextWatermark("DRAFT", font);
FontStyle holds int constants and has no instances, so the old Font(String, String, float, FontStyle) constructor could only receive null and threw a NullPointerException. It is now deprecated and creates a regular font. In PDF documents, bold and italic text watermarks now use the bold and italic faces of a font read from a folder, and a copied text watermark keeps its font folder.
Evaluation mode
Without a license, a document now carries only the GroupDocs evaluation message, in every format: “Created with evaluation version of GroupDocs.Watermark © Aspose Pty Ltd 2001-2026. All Rights Reserved.” The evaluation messages of the embedded Aspose libraries no longer appear. The message is placed as follows:
- Word: a paragraph or a watermark;
- Excel: a locked shape and a footer;
- PowerPoint: a locked shape on the slides;
- Visio: a locked shape on the pages and a header;
- email: the subject.
Evaluation mode also no longer limits the number of watermarks per document, and it allows adding and removing document parts such as attachments and hyperlinks — so you can try the full API before buying a license.
Security and dependencies
- No external resources on load. Word and PowerPoint documents are loaded without fetching external resources such as linked images.
- Aspose libraries updated: Aspose.Words 26.10.1, Aspose.Cells 26.10, Aspose.Slides 26.10, Aspose.PDF 26.10, Aspose.Email 26.9, Aspose.Imaging 26.11, Aspose.CAD 26.10, Aspose.BarCode 26.10 and Aspose.Tasks 26.10.
- Apache Commons updated: Commons IO 2.18.0, Lang 3.19.0, Compress 1.27.1 and Codec 1.17.1. The unused Jackson libraries are no longer bundled.
Other enhancements
PdfAnnotationTypehas five new constants for printer’s mark annotations:ColorBar,TrimMark,BleedMark,RegistrationMarkandPageInformation.- The jar manifest declares
Automatic-Module-Name: com.groupdocs.watermark, so the library has a stable module name on the Java module path. - The published Maven metadata now includes the product name, description, organization, SCM, license and developers.
- Presentation previews are rendered directly from the slide.
Fixes
- Word: adding a watermark to selected pages without locking it threw a
NullPointerException. - Word: locking a watermark with
AllowOnlyFormFieldsduplicated the tables of the document, andsetLocked(true)withWordProcessingLockType.NoLockthrew an exception without a message. - Visio: VSD, VSS, VST and VDW documents could not be saved.
- PDF: image search did not find the images of stamp artifacts.
- Email: an attachment could turn into an embedded object after the message was saved and loaded again.
- Licensing:
License.setLicense(String)failed when the environment contained a variable with a multi-line value. - Tiling: wrong rotation coordinates of tiled watermarks, and zero or negative tile spacing is now rejected.
How to get the update
Maven
Add the GroupDocs repository and the dependency to your pom.xml:
<repositories>
<repository>
<id>groupdocs-artifacts-repository</id>
<name>GroupDocs Artifacts Repository</name>
<url>https://releases.groupdocs.com/java/repo/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-watermark</artifactId>
<version>26.11</version>
</dependency>
</dependencies>
Direct download
Download the JAR from the GroupDocs.Watermark for Java 26.11 download page.