poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vhik...@inreach.com
Subject Copying File with Images
Date Sat, 02 Oct 2004 00:04:04 GMT
I just downloaded HWPF. I was trying to copy a file with images. I saw
another post in January that stated there was a problem with images. Am I
correct in assuming that there is still a problem.

I have the following code:

        HWPFDocument doc = new HWPFDocument(new FileInputStream(filein));
        OutputStream out = new FileOutputStream(fileout);
        doc.write(out);

        out.flush();
        out.close();

It works for the word documents that come with HWPF. When I use a file
with images, the image comes out with a big red X. I addition word freezes
if I start to scroll down the document.


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


Mime
View raw message