LibreOffice
LibreOffice 24.2 SDK API Reference
|
can be thrown by a XTerminateListener to prevent the environment (e.g., desktop) from terminating More...
import"TerminationVetoException.idl";
Additional Inherited Members | |
Public Attributes inherited from Exception | |
string | Message |
gives a detailed description of the reason, why the exception was thrown. More... | |
com::sun::star::uno::XInterface | Context |
should contain a reference to the original, which raised the exception. More... | |
can be thrown by a XTerminateListener to prevent the environment (e.g., desktop) from terminating
If a XTerminateListener use this exception for a veto against the termination of the office, he will be the new "owner" of it. After his own operation will be finished, he MUST try to terminate the office again. Any other veto listener can intercept that again or office will die really.
Since LibreOffice 5.3: Throwing this exception will only prevent termination. Exiting LibreOffice will close all the windows, but the process will keep running.