[GH-ISSUE #95] How to set custom theme? #80

Closed
opened 2026-05-05 11:37:40 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @Paxa on GitHub (Feb 27, 2017).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/95

Originally assigned to: @jmcnamara on GitHub.

As I see workbook_close will always call _write_theme_file and it will always read theme_strs

Is there a way to override default theme?

Originally created by @Paxa on GitHub (Feb 27, 2017). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/95 Originally assigned to: @jmcnamara on GitHub. As I see `workbook_close` will always call `_write_theme_file` and it will always read `theme_strs` Is there a way to override default theme?
gitea-mirror 2026-05-05 11:37:40 -06:00
Author
Owner

@jmcnamara commented on GitHub (Feb 27, 2017):

It isn't possible to set the theme in my Perl/Python/C/Lua libraries. Mainly because changing the theme also changes the fonts and the default row and column sizes associated with them. This in turn affect the size calculations for inserted objects such as images or charts.

It may be something that is supported one day but it isn't on any of the shorter term roadmaps.

<!-- gh-comment-id:282680530 --> @jmcnamara commented on GitHub (Feb 27, 2017): It isn't possible to set the theme in my Perl/Python/C/Lua libraries. Mainly because changing the theme also changes the fonts and the default row and column sizes associated with them. This in turn affect the size calculations for inserted objects such as images or charts. It may be something that is supported one day but it isn't on any of the shorter term roadmaps.
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#80
No description provided.