Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index



I went with the first option and created this patch: https://gerrit.libreoffice.org/#/c/29018

It turned out we need to implement both. The first option was fine when only closing the window - 
but we also want to be able to close the visible frames with "File->Exit" while keeping the process 
running.
So I changed the semantics of the TerminationVetoException accordingly: 
https://gerrit.libreoffice.org/#/c/29031
With that patch, the TerminationVetoException lets you close the windows, but vetoes the 
termination. Before it also vetoed the closing of the windows.

If one still need to veto closing documents/frames, one could use the 
CloseVetoException<https://www.openoffice.org/api/docs/common/ref/com/sun/star/util/CloseVetoException.html>.

I will of course document the new behavior in the release notes (if no objections come in).

Thanks
Samuel

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.