Forum


Replies: 1   Views: 3590
Header footer extra line space in documents
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 medikin  · 27-08-2015 - 12:07

Hi, When trying to use importHeadersAndFooters, we are getting extra line space in the headers. We are currently using the version 2.7. We are converting a doc to docx using libreoffice and then using that docx as the template for the header and footer. While importing the headers and footers, there is extra space in the headers and footers which causes the number of pages higher than the original document file. How can we fix this? We tried to use the version 3.7 but there is same issue appearing with this too.

Posted by admin  · 28-08-2015 - 07:05

Hello, Maybe the transformation from DOC to DOCX is adding a blank space. We recommend you to check the DOCX internal XML content (it's a ZIP file) and check the content of the header before and after using the importHeadersAndFooters method. It could be repaired with a simple script. For further support please open a ticket from your MYPHPDOCX account with the document and we'll check it. Regards.