poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <nick.bu...@alfresco.com>
Subject Re: Updating an embedded Excel file inside Word
Date Fri, 10 Dec 2010 04:56:08 GMT
On Thu, 9 Dec 2010, Aram Mirzadeh wrote:
> Well I tried everything I could think of.  I cannot seem to figure out 
> how to write that one section back in.  I even tried recreating the zip 
> file but word thinks that it's corrupted so I'm doing something wrong.

Just get the OutputStream for the PackagePart you're reading from, and 
pass that to the hssf write method. Won't that do it?

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message