Skip to content

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

Open
@brownd7522

Description

@brownd7522

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions