mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #111] Wrong Styles in large Sheet file #91
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mileder on GitHub (Jul 19, 2017).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/111
Originally assigned to: @jmcnamara on GitHub.
after creating the large excel sheet (approx. 25.000 lines) the styles are not assigned / available.
In the XML file of sheet styles have negative id's: probably overflow somewhere
@jmcnamara commented on GitHub (Jul 19, 2017):
Hi,
As you say it is probably an overflow issue. However the type should be int32_t so it should take several billion unique formats to overflow.
Do you actually have so many unique formats that the default size would overflow?
The best thing would be to post a small working example that demonstrates the issue.
John.
@mileder commented on GitHub (Jul 20, 2017):
i send you an email with example file
@jmcnamara commented on GitHub (Jul 24, 2017):
In general an output file doesn't tell me much. A sample program that creates the file is usually required to figure out what is wrong.
At a guess I would say that you are using a
lxw_formatthat isn't initialized correctly. Alllxw_formatinstances should be created as follows:Memcpying the format and modifying it also doesn't work. Check you code for things like that.
Otherwise, reduce your program down to a small program that can reproduce this issue