ngs-doo / TemplaterExamples

Creating reports in .NET and Java
https://templater.info
The Unlicense
48 stars 27 forks source link

Possible to combine two Word documents? #67

Closed solsticesurfer closed 6 months ago

solsticesurfer commented 6 months ago

Is there an example of how to combine two Word documents together? I looked through the awesome collection of example programs but did not see this covered.

zapov commented 6 months ago

The closest example would be this: https://github.com/ngs-doo/TemplaterExamples/tree/master/Intermediate/HtmlToWord But it will work for relatively simple documents, as headers and similar features are not really embedded nicely. If you want actual merging I would look into other solutions

solsticesurfer commented 6 months ago

Thanks, that was the initial course that I took and my results were the same with headers/footers.