You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling SetHeaderFooter() with either or both ScaleWithDoc & AlignWithMargins these settings do not appear to change when opening the resulting Excel document.
Steps to reproduce the issue:
Use code similar to that shown below
Write Excel file
Open the file with Excel
Navigate to Page Layout -> Page Setup -> Header/Footer
Thanks for your issue. I have changed the data type for the AlignWithMargins and ScaleWithDoc fields to fix this. Please try to upgrade the master branch code, and this patch will be released in the next version. You can set AlignWithMargins and ScaleWithDoc like this:
- Breaking changes, change the data type for the `HeaderFooterOptions` structure fields `AlignWithMargins` and `ScaleWithDoc` as a pointer
- Fixed panic on `AutoFilter` by adding nil pointer guard for local sheet ID
- Allow dot character in the defined name, table name, or pivot table name
- Update the unit tests
Description
When calling SetHeaderFooter() with either or both ScaleWithDoc & AlignWithMargins these settings do not appear to change when opening the resulting Excel document.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Expected both check boxes to be unchecked.
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
WSL2 under Windows, Ubuntu 22.04
The text was updated successfully, but these errors were encountered: