Forum


Replies: 5   Views: 450
Importcontents only for body, not for header/footer
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by dan_brokerbusiness  · 09-11-2023 - 16:52

Hi

$docx->importContents($secondDocx) also overrides the existing header/footer in $docx with those in $secondDocx.

Is there any way to only import the body content?

Regards