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

Add support for header and footer with some tags available #277

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

artnum
Copy link

@artnum artnum commented May 18, 2020

Header and footer for printing can be set via new setHeaderFooter function. It allows to specify tags like filename, path, date, time, page number, pages count and tab name.
Tested with Office 360.

@fraeggel1
Copy link

fraeggel1 commented Dec 22, 2022

Hello,

can not find the function "setHeaderFooter" in the currently file xlsxwriter.class.php. Was it removed again?

Thanks

@sayid
Copy link

sayid commented Dec 22, 2022 via email

@artnum
Copy link
Author

artnum commented Jan 17, 2023

can not find the function "setHeaderFooter" in the currently file xlsxwriter.class.php. Was it removed again?

This pull request has not been merged yet.

@fraeggel1
Copy link

Hello,

I found everything and it works so far. How can I write a different header for each sheet?

public function setHeaderFooter($sheet_name, $pos, $content, $footer = false) ?

thanks

@artnum
Copy link
Author

artnum commented Jan 24, 2023

It would be possible to set different header/footer for odd and even sheet as far as I know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants