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


On Fri, 2012-03-23 at 11:51 +0100, Michael Stahl wrote:
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

Yes those are fine, but it depends on whether you want this to happen
for all documents or only specific documents. 

The user will need to declare the functions before they can be called -
but this gets into which scripting language they prefer to use. Basic is
sufficient for this, but some of course raise their noses to that.

Anyway, this is a common, if not particularly frequent request, one not
yet asked and answered on the libreoffice resource. 

//drew


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.