Hi Rony,

Rony G. Flatscher wrote:
Hi Jürgen

* b) using "XTypeDescriptionEnumerationAccess.createTypeDescriptionEnumeration()"
      yields always an empty "XTypeDescriptionEnumeration".


mmh, that is maybe a bug but i am not sure and have to take a closer look into the code.



Hoping it is not a bug, but something I am doing wrong. (But if a bug, maybe there is a workaround?)

Did try it to no avail with:

       strClass="com.sun.star.comp.helper.Bootstrap";
UNO Java runtime helper -> no type description

       strClass="com.sun.star.reflection.XTypeDescription";
       strClass="com.sun.star.uno.XInterface";
both are interfaces and return an empty enumeration becasue the enumeration works not on methods or attributes -> see the documentation of XTypeDescriptionEnumerationAccess

       strClass="com.sun.star.frame.Desktop";
is an service -> not in the office type library

       strClass="com.sun.star.text.XTextViewCursorSupplier";
see above -> interface type


They all return an enumeration which returns false on "hasMoreElements();".
i would have that expected ;-)

Juergen


After all, it seems that I really need to use the XTypeDescription* infrastructure to get at all the information at runtime that I need to make the scripting language support even more flexible (although the present support looks nice and simple enough and runs stable on 1.1.4, 1.9, with the latter even pluggable into the scripting framework).

Still looking forward to any hints, insights ...


Any news on this so far?

Regards,

---rony


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