Hi Marten, > Yes, these are hints, but you do not get this information from the IDL > reference > and it seems to be impossible to get this information via reflection. > > I created now around 3000 classes from doing reflection of the whole > system and > can't get this information. The following is an interactive session (starting ooRexx in a command line window, loading the uno/OOo support by calling the module "uno.cls" and then querying the definition of the service "com.sun.star.text.TextFields" using the IDL name) on Windows XP:
F:\test\ooo>rexxtry REXX-ooRexx_3.2.0(MT) 6.02 16 Jun 2008 rexxtry.rex lets you interactively try REXX statements. Each string is executed when you hit Enter. Enter 'call tell' for a description of the features. Go on - try a few... Enter 'exit' to end. call uno.cls ........................................... rexxtry.rex on WindowsNT str="com.sun.star.text.TextFields" ........................................... rexxtry.rex on WindowsNT say ppd(uno.getDefinition(str)) UNO_SERVICE|com.sun.star.text.TextFields| com.sun.star.container.XEnumerationAccess|UNO_INTERFACE||com.sun.star.text.TextFields com.sun.star.util.XRefreshable|UNO_INTERFACE||com.sun.star.text.TextFields ........................................... rexxtry.rex on WindowsNT So the "XRefreshable" interface gets listed, and very easily so... :) --- Behind the curtains the UNO reflection mechanism is used to get to the information. Wrote a Java wrapper for it, which encodes the results in form of a string, that can be easily parsed according to p.2. on <http://wi.wu-wien.ac.at/rgf/rexx/bsf4rexx/current/refcardOOo.pdf>, right-most column, section entitled "Table “UNOIDL String Encodings”". If you can interface with Java "behind the curtain" from Smalltalk then please say so and I will direct you to where to get that Java wrapper class (it took me *quite* some efforts to create it, but it works on all platforms: Linux, Macs, and Windows), which may help you as well in your efforts. ---rony P.S.: Of course I am always interested in seeing the Smalltalk snippets from time to time to relate to another posting of yours...