https://bz.apache.org/ooo/show_bug.cgi?id=126869

--- Comment #65 from Arrigo Marchiori <ard...@yahoo.it> ---
(In reply to Peter from comment #64)
> Just to pick the case up again.

Wonderful! Thank you for your help!

> How about we look at the issue from the other end?
> 
> What happens when AOO is issued a shutdown? -> I searched for the Word and I
> found something, which looks like something that coulöd be the entry point.
> ->
> http://opengrok.openoffice.org/xref/aoo42x/main/vcl/unx/generic/app/sm.
> cxx?r=c82f2877
> When a Shutdown is issued it looks like each document instance gets a
> SalSessionSaveRequestEvent. If no Instance is left it is moving into
> savedone.

I am afraid the file you posted may only refer to the Unix world because its
path contains "unx".

If we want to keep looking at the same end (instead of the other one :-) we can
look for "WM_ENDSESSION" and "WM_QUERYENDSESSION" that are the messages sent by
Windows to programs at shutdown time.

OpenGrok leads us here:
http://opengrok.openoffice.org/openoffice/xref/aoo41x/main/vcl/win/source/window/salframe.cxx#6113

> I hope to find the events on document level at some point. See
> https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/
> Document_Events

Uh, that is interesting!

> When I was looking for those events it was not obvious where they are set or
> called.

I agree.

> Lets see if this leads somewhere. Since I my time is very spontaneous,
> please feel free to continue on the thoughts. I don't mind. At the same time
> I try to make some more time to venture forth.

I hope the above helps!

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to