Rony G. Flatscher wrote:
Hi there,

how is it possible to "navigate" via "theTypeDescriptionManager" to "XInterfaceMemberTypeDescription", especially "XInterfaceAttributeTypeDescription" and "XInterfaceMethodTypeDescription"?

you use the XHierarchicalNameAccess.getByHierarchicalName(typename) method of the TypeDescriptionManager (query for this interface). But you can also use the XTypeDescriptionEnumerationAccess interface

When you ask for an interface you can query the returned object for an XInterfaceTypeDescription. From XInterfaceTypeDescription use getMembers to get all Methods and Attributes (which are XInterfaceMemberTypeDescription). You can check the type with getTypeClass of the parent interface XTypeDescritpion and so on...

Juergen



Tried the xrefs of the online api-doc to no avail (e.g. <http://api.openoffice.org/docs/common/ref/com/sun/star/reflection/XInterfaceAttributeTypeDescription-xref.html#devmanrefs>).

TIA,

---rony

P.S.: Ceterum, censeo, XIdlClass.getInterfaces() would alleviate the need to go through the TypeDescriptions..., but if going through that branch, it would make sense to use the type information right away to determine the attributes and methods there, hence this question...


---------------------------------------------------------------------
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