Microsoft Word documents can be divided into multiple sections, and headers and footers are associated with those sections. Open the document with WordProcessingLoadOptions and pass a Word-specific watermark option to add() to target a particular section or page.
Add a watermark to a particular section
Use WordProcessingWatermarkSectionOptions and set section_index to place a watermark in a specific section.
To watermark only specific pages, use WordProcessingWatermarkPagesOptions and set page_numbers.
Working with existing content
Watermarker.get_content() returns a WordProcessingContent that exposes the document’s sections, their shapes, and their headers and footers. For example, to add a watermark to every image inside the first section:
For the full set of Word content operations — shape effects, locking, protection, and working with existing shapes and headers/footers — see the dedicated topics: