Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

How to insert image in word using Apache POI HWPF

  Asked By: Lambodar    Date: Mar 04    Category: Java    Views: 3894
  

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.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on How to insert image in word using Apache POI HWPF Or get search suggestion and latest updates.




Tagged: