On 23/03/12 09:28, huqitu du wrote: > I don't open DLL files, I invoke DLL's function. for example, when LO > open a .txt file, my program(DLL function) handle something first and > then let's LO process continue.
perhaps the GlobalEventBroadcaster can help you, its "OnNew" and "OnLoad" events look interesting but i don't know when exactly they are sent, see: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Document_Events _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice