Bug 42796 - Macro assigned to dataform Before Unload or While Unloading events are not called when form container is closed
Lionel Elie Mamane
lionel at mamane.lu
Mon Apr 8 08:10:58 PDT 2013
On Mon, Apr 08, 2013 at 05:06:30PM +0200, Lionel Elie Mamane wrote:
> And then, we need to find where we need to call
> pFormShell->GetImpl()->loadForms(pCurPage, FORMS_UNLOAD)
> in the case "1)". My idea for that is to see what triggers the *form*
> *document* "before close" event (there does not seem to be a "before
> unload" event for it). That codepath should call
> pFormShell->GetImpl()->loadForms(pCurPage, FORMS_UNLOAD)
> somewhere
Maybe "View is going to be closed" would be a better choice there
rather than "Document is going to be closed"? Not sure.
--
Lionel
More information about the LibreOffice
mailing list