This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes How to add different images to different sheets in excel using POI..? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How to add different images to different sheets in excel using POI..?" Watch "How to add different images to different sheets in excel using POI..?" New topic
Author

How to add different images to different sheets in excel using POI..?

santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
Dear all

I have a reqiurement where in i want to add different images to different sheets of a excel using POI . as of now the image is getting overwritten . so can you please let me know how the requirement can be achieved.


Creativity is nothing but Breaking Rules
manoj r patil
Ranch Hand

Joined: Jun 06, 2002
Posts: 181
You can check the example OfficeDrawing.java which demonstrates adding images on different sheets. If you will download the source code, all the examples are included there.

Basically you will have to get handle of different sheets and set the anchor using HSSFClientAnchor and then add the images.


love your job and not your company;
...because you never know when your company will stop loving you!
 
jQuery in Action, 2nd edition
 
subject: How to add different images to different sheets in excel using POI..?
 
Similar Threads
excel charts
Appending different xls in a single xls
Excel Generation using POI
Excel Generation using POI
Generate Filter Cells For Excel Sheets Using POI HSSF