Hello,
UPDATE: phpdocx 12.5 added the following features when working with watermarks:
- watermarkDocx allows adding multiline texts and applying bold and italic styles (Advanced and Premium licenses).
- watermarkPdf improvements when auto centering watermarks and working with multiple sizes and orientations in the same PDF, supports setting width and height values when adding an image as watermark (Advanced and Premium licenses).
The current version of phpdocx doesn't allow adding multi line text as watermark, only a single text line can be added. We have added a task to add support in a future release of phpdocx.
An alternative approach would be generating an image using GD or ImageMagick with the multi line text and then add the image as watermark.
Regards.