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 2015/05/01 19:47:21 UTC

[Bug 57882] allow appending to large workbooks without reading

https://bz.apache.org/bugzilla/show_bug.cgi?id=57882

Nick Burch <ap...@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
If you just want to add sheets, then as long as those sheets have no external
references, it should be fairly easy. Open the destination OPCPackage, and read
the workbook stream in via xmlbeans (it's small). Open the OPCPackage holding
your sheets to add, create a part in the destination, then copy the contents
over of the sheet part. Add the relation for the new sheet, and use xmlbeans to
add a reference to the new sheet with that relation. Save!

I'm not sure if this counts as in-scope for SXSSF or not, but I could certainly
see value in writing it up as something for the examples directory for now at
least. If you do get it working, please contribute it back as such!

-- 
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