PHP_XLSXWriter icon indicating copy to clipboard operation
PHP_XLSXWriter copied to clipboard

Add support for header and footer with some tags available

Open artnum opened this issue 4 years ago • 5 comments

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.

artnum avatar May 18 '20 11:05 artnum

Hello,

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

Thanks

fraeggel1 avatar Dec 22 '22 22:12 fraeggel1

您好,我已经收到您的信件,将尽快回复您。

sayid avatar Dec 22 '22 22:12 sayid

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.

artnum avatar Jan 17 '23 14:01 artnum

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

fraeggel1 avatar Jan 20 '23 09:01 fraeggel1

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

artnum avatar Jan 24 '23 09:01 artnum