LibreOffice
LibreOffice 7.4 SDK API Reference
|
has to be provided if an object wants to receive an event when the master environment (e.g., desktop) is terminated. More...
import"XTerminateListener.idl";
Public Member Functions | |
void | queryTermination ([in] com::sun::star::lang::EventObject Event) raises ( TerminationVetoException ) |
is called when the master environment (e.g., desktop) is about to terminate. More... | |
void | notifyTermination ([in] com::sun::star::lang::EventObject Event) |
is called when the master environment is finally terminated. More... | |
![]() | |
void | disposing ([in] com::sun::star::lang::EventObject Source) |
gets called when the broadcaster is about to be disposed. More... | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
has to be provided if an object wants to receive an event when the master environment (e.g., desktop) is terminated.
void notifyTermination | ( | [in] com::sun::star::lang::EventObject | Event | ) |
is called when the master environment is finally terminated.
No veto will be accepted then.
Event | describe the source of the event (e.g., the desktop) |
void queryTermination | ( | [in] com::sun::star::lang::EventObject | Event | ) | |
raises | ( | TerminationVetoException | |||
) |
is called when the master environment (e.g., desktop) is about to terminate.
Termination can be intercepted by throwing TerminationVetoException. Interceptor will be the new owner of desktop and should call XDesktop::terminate() after finishing his own operations.
Event | describe the source of the event (e.g., the desktop) |
TerminationVetoException | listener can disagree with this query by throwing this veto exception |