I am trying to create a Word Document report. It has three header tables which contain mostly static contents like report number and with a dynamic value for page numbers (something like 'page 1 of 2'). The main report table which can grow over multiple pages is the fourth table which has a list of project items. this table can grow to more than one page. As this table grows I want the static contents to show up on each page along with the header of the fourth table. So far I can only manage to make the static content tables and the head section of the fourth table to show up only in the first page. I tried to use the code below
section.HeadersFooters.Header.Tables.Add(table1.Clone() as IWTable);
to add the tables in the header of the document but the formatting of the texts in the table get messed up. Can anyone show me how I can make the first three static tables and the header of the fourth table to show up on every page if the data in table 4 grows to more than one page. Thank you!!