openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <>
Subject Re: Programmatically (C++) closing frame with chance to save
Date Tue, 28 Oct 2014 22:03:13 GMT
On Tue, Oct 28, 2014 at 10:31:56PM +0100, Keith Alcock wrote:
> Thanks.  So are you saying that I need to reprogram the actions that
> the Close menu item seems to invoke?  I was hoping that there was more
> direct access to that functionality, perhaps by dispatching a
> .uno:CloseDoc somewhere.

Yes, if you want user interaction, it is better to dispatch
a ".uno:Close", every Frame is a DispatchProvider - note it's simpler to
use the css.frame.DispatchHelper.

Ariel Constenla-Haile
La Plata, Argentina

View raw message