When building a SaaS tool for legal contract automation, we explored a wide range of options — from HTML-to-PDF pipelines to custom templating engines. In the end, the best solution turned out to be something surprisingly old-school: .docx templates....