Hi,

Andreas Schlüns ha scritto:
Hi Carlos,

(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 I do to register listeners, am I right? (is this the reason why Ariel said this can't be achieved with Basic?)

Exactly. You "register" your interception in the same you register a listener. registerDispatchProviderInterceptor() is the right method doing that.

And yes ... OOo basic do not support complex structures as e.g. classes
and so it's not possible to implement an interceptor in basic.

Why not? You can register your own dispatch-interceptor in Starbasic and you can even define your custom dispatches in order to react to user actions

Please find the small example document in attachment.

ciao
Paolo Mantovani

Attachment: TestDispatchInterceptor.odt
Description: application/vnd.oasis.opendocument.text

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to