I have to do the followings:
- use a .dotx template with header, footer, table, all marked with bookmarks at placeholders that will be filled with data
- fill with data the header and the table
- generate a pdf file
What should be the steps to accomplish this from the coding perpective?
- To create the document with the dotx. template?
- to create programmatically a table?
- to find the bookmarks and fill them?
Please give some hints; I saw a lot of examples, but I don’t understand how to use the template and to fill it with data. Thanks!