Hello,
To accomplish the requested task (import specific contents and keep existing contents in headers/footers) you need to use DOCXPath available only in Advanced and Premium licenses. The trial package doesn't include this feature.
After purchasing an Advanced or a Premium license please send your DOCX documents to contact[phpdocx].com and we'll generate a sample script using them.
Regards.