I am attempting to generate a document from a template.
I would like to read in the word doc, and then replace some placeholders with a number of tables
I have been perusing your documentation but cannot find anything that explains how to do this.
I can read in the template word doc fine, but have no idea how to find the placeholders in the template and then insert my tables (generated by some code/db queries etc).
i have even tried adding the tables in the ‘template’ but when i try doing
NodeCollection tc = doc.GetChildNodes(NodeType.Table, tryue);
it only finds 4 tables in the document, when in fatc there are more like 15…
could you enlighten me please.