DOCX

Word document manipulation with python-docx - handling split placeholders, headers/footers, nested tables

bishal-pdMSFT Updated 0 repo stars

File contents

Word Document Manipulation with python-docx

This skill covers Word template filling with python-docx, including split placeholders, headers and footers, nested tables, and conditional sections.

Scope

The workflow content — placeholder-replacement patterns, conditional section handling, table recursion, and the complete end-to-end filling template — is maintained in the companion reference PDF:

Required Before You Proceed

Open and read docx_field_reference.pdf before attempting any template fill. The PDF contains the skill's required preflight setup, the canonical code patterns, and the field-normalization contract the downstream logic depends on. Do not proceed with template work until you have read the PDF in full.

bishal-pdMSFT/msb-skills commit f46989cefd

Frequently asked questions

npx get-skill add bishal-pdmsft/docx-7