Ian Shields schreef:
Thanks Fernand.
I tried this tonight but couldn't figure out the corresponding
interfaces in Java (if they exist). I think I might need an
XDocumentSubStorageSupplier, but it's a mystery to me how I would create
one.
Do you uses the "ObjectInspector":
http://api.openoffice.org/Projects/ObjectInspector/Inspector.uno.pkg
I now nothing about Java but after selecting the pictures I found a lot
of info about the "SubStorage"
This area seems to be a hole in both implementation and documentation.
On Tue, 2006-11-28 at 18:24 +0100, Fernand Vanrie wrote:
Ian,
In Basic I used the "DocumentStorage" and then out of an
"InputStream" the MimeType
oPictures = oDocument.getDocumentStorage.getbyname("Pictures")
mFiles() = oPictures.getElementNames
oOriginalGraphic =
getGraphDescritorFromStream(oPictures.getByName(mFiles(j)).getInputStream()
oOriginalGraphic.getPropertyValue("MimeType")
I few weeks ago I asked this list for an "URL" to the ZipFile, but no
answer so far :-)
Hope it helps a bit
Fernand
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]