ooodev.adapter.frame.dispatch_provider_interception_partial module
- class ooodev.adapter.frame.dispatch_provider_interception_partial.DispatchProviderInterceptionPartial(component, interface=com.sun.star.frame.XDispatchProviderInterception)[source]
Bases:
object
Partial class for XDispatchProviderInterception.
- Parameters:
component (XDispatchProviderInterception) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.frame.XDispatchProviderInterception)[source]
Constructor
- Parameters:
component (XDispatchProviderInterception) – UNO Component that implements
com.sun.star.frame.XDispatchProviderInterception
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XDispatchProviderInterception
.
- Return type:
None
- register_dispatch_provider_interceptor(interceptor)[source]
Registers an
XDispatchProviderInterceptor
, which will become the first interceptor in the chain of registered interceptors.- Return type:
None
- Parameters:
interceptor (com.sun.star.frame.XDispatchProviderInterceptor) –
- release_dispatch_provider_interceptor(interceptor)[source]
Removes an
XDispatchProviderInterceptor
which was previously registeredThe order of removals is arbitrary. It is not necessary to remove the last registered interceptor first.
- Return type:
None
- Parameters:
interceptor (com.sun.star.frame.XDispatchProviderInterceptor) –