I need to choose a good template engine to generate documents in our application. The requirements are:
- Generate Microsoft Word and PDF at least
- Good templating capabilities including support for simple replacable parameters, arrays/lists, and hierarchies if possible
- Allow to include custom graphics
- Ideally templates should be editable with Microsoft applications or other user-friendly equivalent
The task is to feed some data structure from the system and make a nice document from it. Examples include reports, business proposals, product visions and more. Ideas are welcome :)
One approach is to write one myself but maybe there is something out-of-the-box and not necessarily free. Technically best if it could be cross-platform but Windows-only is fine as well as a last resort.