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

Header / Footer Options - pointer argument is not a valid pointer #56

Open
brownd7522 opened this issue Jan 14, 2020 · 0 comments
Open

Comments

@brownd7522
Copy link

Trying to set a footer / header margin causes the following error ":pointer argument is not a valid pointer".

Below is some of the inputs I have tried, I'm not sure if this is a bug or am I doing something wrong?

options = Libxlsxwriter::HeaderFooterOptions
worksheet.set_header_opt('&L&A&CPage &P of &N', options)
worksheet.set_footer_opt('&L&A&CPage` &P of &N', {margin: 0.2} )
worksheet.set_footer_opt('&L&A&CPage` &P of &N', {0.2} )
worksheet.set_footer_opt('&L&A&CPage` &P of &N', 0.2 )

Using set_header / set_footer works fine.

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

No branches or pull requests

1 participant