Currently, I am using a Thymeleaf template to create the body of the document.
I add the header and footer separately to the obtained wordMLPackage.
The header and footer are implemented in the code, but I would like to change this so that they are generated using a template.
I would like to ask how this can be done?
Furthermore, how can I create such a template with formatting and similar elements? (Should I create ...