mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #76] constant memory mode problem #64
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#64
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 @xakepsoft on GitHub (Nov 4, 2016).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/76
Originally assigned to: @jmcnamara on GitHub.
xlsx file created using {.constant_memory = LXW_TRUE , .tmpdir = NULL}
cannot be read by akeneo-labs xlsx php reader.
File created with 'options' contains xl/sharedStrings.xml however file without 'options' doesn't have that.
Is there a way to prevent creation of xl/sharedStrings.xml ???
I would like to disable it for a while until akeneo-labs guys fix their issue with shared strings.
LibreOffice reads both files ok.
@jmcnamara commented on GitHub (Nov 4, 2016):
Just to be clear, I think that should be the other way around.
Basically it works like this:
new()mode theconstant_memorymode is off and the library writes any strings to thexl/sharedStrings.xmlfile. This can be considered a "standard" xlsx file.constant_memoryin on the libxlsxwriter library avoids a non constant memory overhead by writing the strings "inline" in theworksheet.xmlfiles and avoid using thexl/sharedStrings.xmlfile. This is a documented Excel feature that is supported by most spreadsheet applications. However, some applications don't support it, such as Apple Numbers.If spreadsheet-parser doesn't support it then you should avoid using the
constant_memoryoption in libxlsxwriter.I hope that clears things up.
John
@jmcnamara commented on GitHub (Nov 4, 2016):
P.S., This side-effect is documented: http://libxlsxwriter.github.io/working_with_memory.html#ww_mem_inline_strings
@xakepsoft commented on GitHub (Nov 4, 2016):
Thanx, a lot.
I'll try to fix the reader so it conforms to standards.