Skip to content

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