[api-dev] Re: Automation doubts

2008-05-20 Thread Carlos Rocha
Thanks for your fast reply. I want to apologize for something I might say unintentionally, but english is not my primary language :) Let me start to say that I'm reading OO docs for many months now, and I collected lots of sample code from many sources, including this list, but I don't

Re: [api-dev] Re: Automation doubts

2008-05-21 Thread Carlos Rocha
i meant a completely independent user installation that you can configure in the way you want or need. You can use a specific user installation by starting with soffice -env:UserInstallation=fileurl. An environment variable UserInstallation should work as well. This User installation can you

[api-dev] Re: Automation doubts

2008-05-22 Thread Carlos Rocha
well that is correct. But try it out. Set the environment variable UserInstallation and start your process from where you access the office. I assume that you will create if necessary a second office process with the new user installation. You can easy check it if you first start the office

[api-dev] Select function in XMenuListener is a reserved word

2008-09-18 Thread Carlos Rocha
Hi, I'm trying to make an activex wrapper in VB6 to simplify the use of listeners with automation bridge. With more or less work I've been able to put them to work, but now I got a problem I can't solve by myself :( The function select in XMenuListener is a reserved word in VB6 and it

Re: [api-dev] Select function in XMenuListener is a reserved word

2008-09-18 Thread Carlos Rocha
Sorry, this duplicates issue 94057 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Select function in XMenuListener is a reserved word

2008-09-19 Thread Carlos Rocha
Hi Bernard, thx for the reply Well, I'm not a VB expert, I only use it to simplify things hard to achieve in my environment, but I don't think your suggestion could solve it. I need to declare a method with the name select but VB6 doesn't allow it. But thanks anyway, I just learned one more

Re: [api-dev] Select function in XMenuListener is a reserved word

2008-09-19 Thread Carlos Rocha
Hello Juergen, Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[api-dev] Intercepting commands .uno.xxx...

2008-10-30 Thread Carlos Rocha
Hi, I'm embbeding OOo in a Win32 application and I need to catch some user intentions, like Save or Close the Document. I'm unable to use XMenuListener (issue #94057) and don't know when (or if) XMenuExtended2 interface proposed by Ariel Constenla Haile will be available. And I'm not sure

[api-dev] Re: Intercepting commands .uno.xxx...

2008-11-02 Thread Carlos Rocha
(I'm using Automation Bridge to communicate with OOo) After reading again all the stuff and trying to digest the java sample, this is what I conluded: I need to implement my own DispatchProvider as a COM object an pass it as a parameter to registerDispatchProviderInterceptor, in the same way

[api-dev] Re: Intercepting commands .uno.xxx...

2008-11-09 Thread Carlos Rocha
Hi Andreas, If you call registerDispatchProviderInterceptor() the framework will call setMasterDispatchProvider() and setSlaveDispatchProvider(). Do nothing there excepting caching those two dispatch objects. From this point your interceptor is part of the double-linked interceptor chain.

[api-dev] Re: OLE Bridge - Strange exception

2008-11-17 Thread Carlos Rocha
Hi Joachim Lingner, Could you strip down your program so that it still runs and the error can still be reproduced? You mean make it as small as possible? yes I can, but it's an ActiveX (OCX) wrapper so it needs a client, and it uses another wrapper (COM) that allows me to embed OOo in a