You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2022/11/22 19:57:42 UTC
[Bug 66361] New: Start writing file header early for browser download progress
https://bz.apache.org/bugzilla/show_bug.cgi?id=66361
Bug ID: 66361
Summary: Start writing file header early for browser download
progress
Product: POI
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: SXSSF
Assignee: dev@poi.apache.org
Reporter: mwisnicki@gmail.com
Target Milestone: ---
Currently DeferredSXSSFWorkbook will only start writing bytes to output stream
once the whole workbook and it's sheets are created (with row generator
callbacks).
In cases where even setting up workbook is time consuming it would be highly
desirable to write PK header first.
The reason for that is if we are streaming to browser, browser will only show
download indicator after first by is sent.
Requesting addition of writeHeader(os) method that can be called before
workbook is finalized and will write some header bytes. Subsequent write(os)
will skip them.
Current workaround: write header myself and pass special output stream to POI
that skips over first 2 bytes.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 66361] Start writing file header early for browser download progress
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66361
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 66361] Start writing file header early for browser download progress
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66361
PJ Fanning <fa...@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
Could you provide a patch and we will look at it?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org