qax-os / excelize

Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
https://xuri.me/excelize
BSD 3-Clause "New" or "Revised" License
17.62k stars 1.68k forks source link

Stream while appending to io.writer #1897

Closed XaichengLi closed 1 month ago

XaichengLi commented 1 month ago

当前虽然提供了流式写入的方法,但没有提供流式构造xlsx的方法,必须要等需要写入的数据都写入File后,才能调用File的Write()或WriteTo()方法将流写入的指定的io.Writer,其实是假的流式。 应该提供一种方法,当向StreamWriter中写入数据后,File应该有方法能将刚写入的数据写入到指定的io.Writer中,而不是要等StreamWriter写入完后,调用Flush才能将File数据写入到指定的io.Writer中。

xuri commented 1 month ago

Thanks for your issue. If you are reporting a new issue, make sure that we do not have any duplicates already exist. This was duplicated with issue #753. So I've closed this issue. If you have any questions, please let me know, and you can reopen this anytime.

XaichengLi commented 1 month ago

ok,thanks!