Hello.
I am generating my DOCX files from HTML. I need to be able to set different Headers and Footers for the pages. I found the solution by creating an array of pages merging them in the end. It doesn't work for me. In my case, the first page is not always a Title page and it not necessarily has the same amount of text. As a result, I can't separate the first page from the rest of the content. Also, there could be a situation when I need to set an original header somewhere in the middle of a document, let's say knowing only the page number.
In which way I can achieve that?