Skip to content

Support Multiple headers #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 15, 2013
Merged

Support Multiple headers #42

merged 1 commit into from
Dec 15, 2013

Conversation

RLovelett
Copy link
Contributor

Sections can support multiple headers

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

Should provide the feature described here: https://phpword.codeplex.com/discussions/270211. Better late than never! 👍

(Orignally submitted in pull request #15)

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
Progi1984 added a commit that referenced this pull request Dec 15, 2013
@Progi1984 Progi1984 merged commit 7297754 into PHPOffice:master Dec 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants