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 perspective?
- To create the document with the dotx. template?
- to create grammatically 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!
Please do not use the form fields in the template document. I suggest you please use LINQ Reporting to populate the template document with data that comes from database. The LINQ Reporting Engine is a part of the Aspose.Words API that enables you to build reports using an extended set of reporting features.
I work with Aspose as Developer Evangelist.