Forum


Replies: 1   Views: 3915
Header and footer in right place when converting from html to docx
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 tarzip  · 14-11-2013 - 21:53

Hi



when user upload docx, we convert it to html and send it to ckeditor for user to edit. after editing user may opt to download. We have discovered that when there are headers/footers in docx they appear as header and footer in converted html just once as they are supposed to but when user download the file which is being converted to docx on the fly using embedHtml, headers and footers don't appear as they should. they just work as normal element. header at top of page like normal and footer at end of document.



is there a way to save header/footer information when converting from docx to html and inject header/footer back in docx while it is being converted from html?



 



 



Thanks