Marten Feldtmann wrote:
All I would like to have is a way to implement:

anObject.SupportsInterfacesNamed("com.sun.star.reflection.XTypeDescription")

which may returns true or false .... and this via UNO calls and not via
BASIC special calls (to use it under OLE).

XInterface.queryInterface is differently implemented depending on the language which one uses.

The interface to use in order to get information about implemented interfaces is com.sun.star.lang.XTypeProvider. So you need to query first for this interface.

XTypeProvider.getTypes returns a sequence<type>. The "type" object is different for the various language bindings. For example, using the Automation bridge it is a IDispatch object which simply has a name property. Using C# it is a System.Type.

--Jochen



I thought, that perhaps "queryInterface" might help me, but I do not
understand "type" and how to get the type for a name like
"com.sun.star.reflection.XTypeDescription" ?




Marten




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to