poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir Hossein Sharifzadeh" <amirsharifza...@gmail.com>
Subject How to insert image in word using Apache POI HWPF
Date Mon, 13 Oct 2008 07:26:23 GMT
Dear POI users,

I am new in POI HWPF component.
Can any one of you give me an idea how to insert an image in word using HWPF
files. I am converting my image file in to byte stream and sending into
Picture object by writeImageContent()e But after running the program my
image is not copied in the desired document. Instead it is showing some
garbage characters.
Can any one help me in this issue. I would be pleased in any sample code is
provided.

Thanks a lot
-- Amir

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message