Each section can now have a single header (previous behavior). It can now also support multiple headers. The spec defines three types of headers: default, first, and even. These code changes provide support for all three. The HeaderFooter.php example has also been updated to illustrate how to use the new multiple headers for a section. Used these pages as spec reference: http://www.schemacentral.com/sc/ooxml/e-w_headerReference-1.html http://www.schemacentral.com/sc/ooxml/a-w_type-4.html
PHPWord - OpenXML - Read, Write and Create Word documents in PHP
PHPWord is a library written in PHP that create word documents. No Windows operating system is needed for usage because the result are docx files (Office Open XML) that can be opened by all major office software.
Want to contribute?
Fork us!
License
PHPWord is licensed under LGPL (GNU LESSER GENERAL PUBLIC LICENSE)
Languages
PHP
99.9%