You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Eric Hamacher <er...@enetrix.com> on 2008/05/13 17:06:43 UTC

SlideShow to outputstream

Hello:

 

HSLF

 

I see many examples of outputting slideshows as FileOutputStream.   My
slideshow doesn't exist on disk, I don't have a filename and I need the
slideshow on a generic OutputStream.  How  can I accomplish this?

 

Thanks.

 

Regards,

Eric Hamacher

 

******************************

THIS EMAIL IS INTENDED ONLY FOR THE REVIEW OF THE ADDRESSEE(S), AND MAY
CONTAIN CONFIDENTIAL AND LEGALLY PRIVILEGED INFORMATION. INTERCEPTION,
COPYING, DISSEMINATION, OR OTHER USE BY OTHER THAN THE ADDRESSEE(S) IS
PROHIBITED AND MAY BE PENALIZED UNDER APPLICABLE PRIVACY LAWS. IF YOU
RECEIVED THIS EMAIL IN ERROR, PLEASE DELETE IT AND NOTIFY ME BY RETURN
EMAIL TO eric.hamacher@enetrix.com *******************************

 


Re: SlideShow to outputstream

Posted by Nick Burch <ni...@torchbox.com>.
On Tue, 13 May 2008, Eric Hamacher wrote:
> I see many examples of outputting slideshows as FileOutputStream.  My
> slideshow doesn't exist on disk, I don't have a filename and I need the
> slideshow on a generic OutputStream.

It'd generally worth checking the javadocs first:
http://poi.apache.org/apidocs/org/apache/poi/hslf/HSLFSlideShow.html
http://poi.apache.org/apidocs/org/apache/poi/hslf/HSLFSlideShow.html#write(java.io.OutputStream)

HSLFSlideShow already writes out to any kind of OutputStream

Nick

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