File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes How to get an image and its position from excel file using Apache POI? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to get an image and its position from excel file using Apache POI?" Watch "How to get an image and its position from excel file using Apache POI?" New topic
Author

How to get an image and its position from excel file using Apache POI?

Gianni Amendola
Greenhorn

Joined: Jul 23, 2012
Posts: 1
Is it possible to extract an image's information from an xls spreadsheet using Apache POI?

In one of my projects, I need to read some images from a .xls file. I can read all images together, but how can I get images position (like columns and rows number or coordinates)? Otherwise I can get images position but I can't know information, like picture name or extension or others, about a specific image at the positions found. How I can get images and positions too?

Here: read all images...
and here: get images positions...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41069
    
  43
Start here: http://poi.apache.org/spreadsheet/quick-guide.html#Images.

Check out the ClientAnchor interface for information about where/how the position is saved.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get an image and its position from excel file using Apache POI?
 
Similar Threads
Parsing Excel-2007-Format (xlsx)
POI HSSF - Excel question
Multiple questions
Transfer Excel Sheet information to database
capture Image From Excel To Database