mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #354] Working with spreadsheets without filesystem interaction #282
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#282
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 @ivan770 on GitHub (Aug 27, 2021).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/354
Originally assigned to: @jmcnamara on GitHub.
Hi! While using a Rust wrapper of
libxlsxwriterI found that it's impossible to obtain finalizedxlsxbytes without writing them to filesystem. Is this a problem with a Rust wrapper, or C version of a library doesn't support this feature?@jmcnamara commented on GitHub (Aug 27, 2021):
It is mainly a limitation of what can be done in ANSI C (which I'm constrained to support for Windows compatibility). Even outside that limitation it isn't easy in C to replace disk filehandles (which libxlsxwriter uses a lot) with in memory filehandles. It can be done, to a certain extent, with fmemopen() but requires a fixed size buffer which wouldn't be very convenient.
By way of comparison the Python version of this library (xlsxwriter) has transparent support for fully in memory creation of files.
So unfortunately this probably isn't fixable.