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


On 18/04/14 11:29, tuan vu dao wrote:
How I know file loading finished when I open? I am using
loadComponentFromURL load find, i'm searching event return when loading
finished but i don'n know. How to I get event return? Can you help me?

you can register an event listener to receive various different events
on a document; for loading there is the "OnLoad" event, you have to
register at the GlobalEventBroadcaster to receive it (since when it is
sent you do not have a reference to the document itself yet).

https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Document_Events

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.