Skip to content
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

Even and odd page headers #674

Closed
w1ck3dg0ph3r opened this issue Dec 1, 2015 · 3 comments
Closed

Even and odd page headers #674

w1ck3dg0ph3r opened this issue Dec 1, 2015 · 3 comments

Comments

@w1ck3dg0ph3r
Copy link

w1ck3dg0ph3r commented Dec 1, 2015

When even and odd page headers are set up, only odd one seem to appear in Word2007 writer due to missing <w:evenAndOddHeaders/> in /word/settings.xml.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@jaff521
Copy link

jaff521 commented Dec 2, 2016

hello, I am using PHPWord 12.0, and meet a problem of creating even and odd page footers, I tried to make different footers, but failed, would you please to help me, thanks, my codes are below:

$footer = $section->addFooter();
$footer->addPreserveText('{PAGE}', null, ['align' => 'right']);

$footerEven = $section->addFooter('even');
$footerEven->addPreserveText('{PAGE}' null, ['align' => 'left']);

@ctrlaltca
Copy link
Contributor

I guess this is a duplicate of the closed #981

@troosan
Copy link
Contributor

troosan commented Dec 25, 2017

fixed in 0.14

@troosan troosan closed this as completed Dec 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants