WordDocGenerator is an utility to generate Word documents from templates using Visual Studio 2017, .NET Framework 4.7 and DocumentFormat.OpenXml 2.8.1. WordDocGenerator helps generate Word documents both non-refresh-able as well as refresh-able based on predefined templates using minimum code changes. Content controls are used as placeholders for document generation.
You can download the code from GitHub.
I had created this utility a few years back and you can read more details by going through older blogs which are still relevant (other than Charts which have been removed).