diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-05-22 10:08:52 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-05-22 11:58:00 +0300 |
commit | b93300d91eff77376aac26ae0437df338cf91d1e (patch) | |
tree | f52023a4e418cdec6b48466439b022ee1d6eaa95 /android | |
parent | 933fd8adb80ec2008e9cdbdb28b55fe773705a91 (diff) |
A bit more introspective debugging output...
Change-Id: Ibfafe0d6420ad59e12b9eed4847c89e57a18d679
Diffstat (limited to 'android')
-rw-r--r-- | android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java b/android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java index 63ee56931245..3fdc453806fc 100644 --- a/android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java +++ b/android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java @@ -122,6 +122,18 @@ public class DocumentLoader xCompLoader.loadComponentFromURL (sUrl, "_blank", 0, propertyValues); Log.i(TAG, "oDoc is " + (oDoc!=null ? oDoc.toString() : "null")); + + com.sun.star.lang.XTypeProvider typeProvider = (com.sun.star.lang.XTypeProvider) UnoRuntime.queryInterface(com.sun.star.lang.XTypeProvider.class, oDoc); + Log.i(TAG, "typeProvider is " + (typeProvider!=null ? typeProvider.toString() : "null")); + + if (typeProvider != null) { + com.sun.star.uno.Type[] types = typeProvider.getTypes(); + if (types != null) { + for (com.sun.star.uno.Type t : types) { + Log.i(TAG, " " + t.getTypeName()); + } + } + } } } catch (Exception e) { |