poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fazekas Imre" <Imre.Faze...@it-services.hu>
Subject RE: how-to extract textual embedded content
Date Mon, 21 Feb 2011 08:03:13 GMT
OK, let me attache a simple document.

I'm able to extract the content of the embedded textual file, the icon
from the sheet, but cannot find a way to get the position of the
embedded content. :(
Any help is much appreciated!

Best regards,


-----Original Message-----
From: Mark Beardsley [mailto:markbrdsly@tiscali.co.uk] 
Sent: Monday, February 21, 2011 8:30 AM
To: user@poi.apache.org
Subject: RE: how-to extract textual embedded content

If I am correct - and that is another if - then you will have to get the
element of the document from the POIFS object, recover a refernece to
list of directory/document entry object it manages and iterate through
to locate the anchor or anchors for the embedded objects. I have done
for pictures as I knew they had an associated anchor but never for
objects as I am unsure whether they do. The problem we hit when getting
the image's anchor is that while it did contain the location information
was then impossible to tie a specific anchor back to one image and I
you will encounter this problem again. If I have the chance, I wil play
some code to see what happens but I would like to ask whether you could
upload a sample file for me to work with please?


Mark B
View this message in context:
Sent from the POI - User mailing list archive at Nabble.com.

To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org

View raw message