}
catch(com.sun.star.uno.Exception e) {
e.printStackTrace((java.io.PrintWriter)log);
}
XTextEmbeddedObjectsSupplier oTEOS = (XTextEmbeddedObjectsSupplier) UnoRuntime.queryInterface(
XTextEmbeddedObjectsSupplier.class,
xTextDoc);
XNameAccess oEmObj = oTEOS.getEmbeddedObjects();
XIndexAccess oEmIn = (XIndexAccess) UnoRuntime.queryInterface(
XIndexAccess.class, oEmObj);
try {
oObj = (XInterface) AnyConverter.toObject(