[GH-ISSUE #308] Sizes and margins of images in Header and Footer #249

Closed
opened 2026-05-05 12:02:05 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @vic7tar on GitHub (Sep 17, 2020).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/308

Originally assigned to: @jmcnamara on GitHub.

Hello.
Mr. McNamara, can you add functionality to position and resize images in headers and footers? In Excel VBA, these are the .LeftHeaderPicture, .CenterHeaderPicture … .RightFooterPicture properties of the PageSetup object.

Originally created by @vic7tar on GitHub (Sep 17, 2020). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/308 Originally assigned to: @jmcnamara on GitHub. Hello. Mr. McNamara, can you add functionality to position and resize images in headers and footers? In Excel VBA, these are the **.LeftHeaderPicture, .CenterHeaderPicture … .RightFooterPicture** properties of the **PageSetup** object.
gitea-mirror 2026-05-05 12:02:05 -06:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@jmcnamara commented on GitHub (Sep 17, 2020):

It is possible to resize a header/footer image but I don't think it is possible to position them. At least I can't see anything in the Excel menus/properties to do that.

However, even though resizing would be possible it isn't something that anyone else has asked for (even in the Perl and Python versions) and it would clutter the API (since it would require 3 lxw_image_options (or similar) pointers for
the 3 header zones. Also, it is relatively easy to just scale the image outside of Libxlsxwriter.

So overall this is a "won't fix" for me. Sorry.

<!-- gh-comment-id:694458053 --> @jmcnamara commented on GitHub (Sep 17, 2020): It is possible to resize a header/footer image but I don't think it is possible to position them. At least I can't see anything in the Excel menus/properties to do that. However, even though resizing would be possible it isn't something that anyone else has asked for (even in the Perl and Python versions) and it would clutter the API (since it would require 3 lxw_image_options (or similar) pointers for the 3 header zones. Also, it is relatively easy to just scale the image outside of Libxlsxwriter. So overall this is a "won't fix" for me. Sorry.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#249
No description provided.