Bug 61157 - HWPF doesn't support rotated string watermark in a word document
Summary: HWPF doesn't support rotated string watermark in a word document
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: HWPF (show other bugs)
Version: 3.16-FINAL
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2017-06-06 02:59 UTC by qiuqinghe
Modified: 2017-06-16 18:33 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description qiuqinghe 2017-06-06 02:59:54 UTC
HWPF supports to add a string watermark to a word document, however the watermark is horizontal, it would be nice if HWPF could add a feature to support both horizontal and rotated string watermark.

I modified line 483 in XWPFHeaderFooterPolicy.java:


Then I used the new PWPF to add a watermark, the watermark is rotated.

In addition, we are able to add an image watermark in a word document manually. If possible, add this feature to HWPF would be perfect.