[api-dev] Macro driving me nuts

2008-02-05 Thread Jonathan Kaye
Hi all, I'm writing to this ng at the suggestion of someone on the openoffice.questions ng. I hope I'm at the right place. OOo macros are driving me crazy! I'm running OOo 2.3.1 on a linux (Debian Lenny) box. The behaviour of macros is, to say the least flakey. I have a macro called "map" thanks t

Re: [api-dev] [C++] XMultiServiceFactory for Databasecontext???

2008-02-05 Thread Juergen Schmidt
Hi Andre, don't worry, XMultiServiceFactory works often as well for older implementation objects. I would recommend that if you want to create new instances of services globally over the service manager you should always use XMultiComponentFactory. It's the newer and recommended way. For conte

Re: [api-dev] [C++] XMultiServiceFactory for Databasecontext???

2008-02-05 Thread Andre Heine
Hi Tobias, thanks for your code:-) Some code snippets from the developerguide uses explicit "XMultiServiceFactory" but I must use "XMultiComponentFactory"... I need some time to realize it;() Greetings Andre Am Dienstag, 5. Februar 2008 09:52 schrieb Tobias Krais: > Hi Andre, > > sorry, a li

Re: [api-dev] [C++] XMultiServiceFactory for Databasecontext???

2008-02-05 Thread Tobias Krais
Hi Andre, sorry, a little failure occured in my example: > -%<- > package de.designtouse.test; > > import com.sun.star.comp.helper.Bootstrap; > import com.sun.star.lang.XMultiComponentFactory; > import com.sun.star.lang.XMultiServiceFactory; > import com.sun.star.uno.UnoRuntime; > import

Re: [api-dev] [C++] XMultiServiceFactory for Databasecontext???

2008-02-05 Thread Tobias Krais
Hi Andre, > How can I get a valid XMultiServiceFactory for querying the datasources. > Which component I must load? Here an example in Java: -%<- package de.designtouse.test; import com.sun.star.comp.helper.Bootstrap; import com.sun.star.lang.XMultiComponentFactory; import com.sun.star.l