In the process of creating a few nutshell examples using OLE/COM.
One open problem is how to get to the UNO_CONSTANTS via the OLE/COM bridge. Here a snippet and its
output (the tilde is the message operator in ooRexx and could be replaced by a dot for JScript and
the like; .nil is the singleton
OK, it is possible using "/singletons/com.sun.star.reflection.theTypeDescriptionManager". (Will have
to look further into it to maybe use it also for UNO_ENUM and the like.)
---rony
On 17.06.2022 12:46, Rony G. Flatscher wrote:
In the process of creating a few nutshell examples using OLE/COM.
This is how I get the manager using Basic:
Get the type description manager from the default context; see section 10.4
Context, which also shows how to enumerate all of the singleton objects
available.
Function GetTypeDescriptionManager()
Dim sTDMName$ ' Name of the type description manager
Hi Andrew,
thank you *very* much indeed!
Your code gives much help already to save me a lot of research, so kudos to you! (E.g. from your
code it is clear that one can use the same code for fetching constant and enum values, which is
already very helpful per se!)
Will experiment a little bit