I’ve tried the ReadOnlyWithEditableContent mode which seems to work fine (my users should have the possibility to edit the document), but all the content is highlighted when document is opened (because Word displays editable areas with highlight) which is annoying.
@Samoth
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WATERMARKJAVA-147
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Hi @Samoth ,
We are still investigating the described behavior. In the meantime, I’d like to ask if you truly need to use the locking mechanism for the applied watermark. If not, you could try removing the use of WordProcessingWatermarkPagesOptions and updating your code as follows:
Instead of: watermarker.add(watermark, options);
Try: watermarker.add(watermarks);
This approach will insert the watermark into the document’s header section. But user can still edit or select the watermark by switching to the header/footer editing mode in Word. This should help avoid the changes in spacing, alignment, or highlighting caused by the locking mechanism.
Let us please know if this improves the situation.