-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Andreas,
> As an optional feature you can provide an
> additional interface named XInterceptorInfo. There you can return a list
> of URL pattern (including wildcards) so the dispatch queue will call
> your interceptor only for those URLs ... and not for all.
i tried to configure my DispatchInterceptor:
private String[] interceptedURLs = { "macro:///*" };
public XDispatch queryDispatch(URL aURL, String sTarget, int nSearchFlags) {
[...]
}
public String[] getInterceptedURLs() {
return interceptedURLs;
}
to listen only for macro:/// dispatches, but this seems not to work,
my queryDispatches method is called for .uno: dispatches too
Is there a broken chain ?
i found an explanation i the
docs/common/ref/com/sun/star/frame/XInterceptorInfo.html
> makes it possible to get information about a registered interceptor and is
> used by frame
> interceptor mechanism to perform interception.
> Frame can call right interceptor directly without calling all of registered
> ones.
> Use it as an additional interface to XDispatchProviderInterceptor .
> If any interceptor in list doesn't support this interface - these mechanism
> will be broken
> and normal list of master-slave interceptor objects will be used from top to
> the bottom.
Oliver
- --
GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHSwvjTiyrQM/QSkURAuk8AKCmYcuPPsCeO33yOJFGYmT/2IAIZgCfULRR
z58TiGImG+NYztnlvBFZExE=
=hJZI
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]