Re: [dev] How to get singleton in OOo Basic?
On 7/3/07, Peter Eberlein <[EMAIL PROTECTED]> wrote: Cont = GetProcessServiceManager().DefaultContext() Thanks. That's what I was missing. Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] How to get singleton in OOo Basic?
Hi Matthias, Matthias B. schrieb: I want to convert a Java program that causes OOo to crash into Basic to make it easier to reproduce for filing a bug report. Can someone tell me how to get "/singletons/com.sun.star.script.browse.theBrowseNodeFactory" in OOo Basic? In Java I get it via getValueByName() from the DefaultContext (which I get from my service manager), but I don't know how to get the default context (or service manager) in OOo Basic. I examined the StarDesktop object wit xray but didn't find anything useful. Cont = GetProcessServiceManager().DefaultContext() XRay Cont.getValueByName("/singletons/com.sun.star.script.browse.theBrowseNodeFactory") Regards Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] How to get singleton in OOo Basic?
I want to convert a Java program that causes OOo to crash into Basic to make it easier to reproduce for filing a bug report. Can someone tell me how to get "/singletons/com.sun.star.script.browse.theBrowseNodeFactory" in OOo Basic? In Java I get it via getValueByName() from the DefaultContext (which I get from my service manager), but I don't know how to get the default context (or service manager) in OOo Basic. I examined the StarDesktop object wit xray but didn't find anything useful. Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]