It should be possible just to update the drawing as it is stored within the
archive. I have not had a play with this for a long time but, if I remember
correctly, it ought to be possible to pick up an OutputStream from one of
the openxml4j objects that connects to the image stored within the archive.
If we can do that, it should be possible to stream the new 'version' of the
image directly into the archive to replace the previous version. This will
obviate the need to update any other parts of the xml.

I got tied up with answering another question, one I thought would be very
straightforward(!) - but should have the time to look into the streaming
issue today. Will post if I make progress.

Yours

Mark B

--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Load-remote-image-inside-excel-sheet-tp5709821p5709885.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to