Re: [dev] How to get the supported interfaces of an unknown object ?

2007-10-15 Thread Joachim Lingner
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

Re: [dev] How to get the supported interfaces of an unknown object ?

2007-10-11 Thread Stephan Bergmann
Marten Feldtmann wrote: Stephan Bergmann schrieb: Marten Feldtmann wrote: All I would like to have is a way to implement: anObject.SupportsInterfacesNamed("com.sun.star.reflection.XTypeDescription") See com.sun.star.lang.XTypeProvider, which should be implemented by every UNO object (but

Re: [dev] How to get the supported interfaces of an unknown object ?

2007-10-11 Thread Marten Feldtmann
Stephan Bergmann schrieb: Marten Feldtmann wrote: All I would like to have is a way to implement: anObject.SupportsInterfacesNamed("com.sun.star.reflection.XTypeDescription") See com.sun.star.lang.XTypeProvider, which should be implemented by every UNO object (but probably isn't for some).

Re: [dev] How to get the supported interfaces of an unknown object ?

2007-10-11 Thread Stephan Bergmann
Marten Feldtmann wrote: All I would like to have is a way to implement: anObject.SupportsInterfacesNamed("com.sun.star.reflection.XTypeDescription") See com.sun.star.lang.XTypeProvider, which should be implemented by every UNO object (but probably isn't for some). which may returns true o

[dev] How to get the supported interfaces of an unknown object ?

2007-10-11 Thread Marten Feldtmann
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). I thought, that perhaps "queryInterface" might help me,