Forums Register Login

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

+Pie Number of slices to send: Send
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...
+Pie Number of slices to send: Send
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.
Not so fast naughty spawn! I want you to know about
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 13336 times.
Similar Threads
capture Image From Excel To Database
Converting xls to xlsx and XmlValueDisconnectedException on WebLogic 9.2 (poi 3.7)
Read excel file
Read MS Excel Sheet Formula Execution Value Without Opening it
Using Excel with Java
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:25:14.