I've set up some templating functionality which modifies existing .docx files to insert custom values.
It worked for a while with the values I was interested in being contained within the files word/header1.xml and word/header2.xml
Now the code has stopped working and the values seem to be in word/header3.xml
How many headerX.xml files can there be, where X is a number? I don't know whether to alter my code to allow for an unlimited number (which is more of a pain) or whether there can be only, say, 5, or one per page, or some other limit.