Edit header/footer of an existing document through PHPWord.

Jun 9, 2015 at 10:36 AM

Sorry, I posted this query in the issues section as well. I don't really think its an issue with PHPWord. But its something need to figure out and need help on it.

Could somebody please help me out with this? I need to add a functionality to my web application that enables the user to replace the content of header/footer of a existing Word document with some other content. In other words, I need to edit the header/footer of a document.

A solution with an example would be very much appreciated.