MS Word document / template coding is really poor. Wordperfect was better, but HotDocs, I believe, is a good work around for generating good, solid, non-needed-to-be-edited documents from templates and inputs.
You won't be notified about changes to this idea.