Is there an easy way to use a custom template to export data to a Word document. I’d like to print invoices nad can put all data correcty in a custom template, but export to Word gives a different layout.
Have a look on this project: DocXToPdfConverter.We used it to generate contracts based on some templates which are saved in a sub-folder in wwwroot.Additionally, you could export to pdf as well, with the help of LibreOffice