The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.13



Tips ‘n’ Tricks


:: com :: sun :: star :: frame ::

interface XFrameLoader
load components into a frame

It's an asynchronous loading. For synchronous processes use XSynchronousFrameLoader instead of this one. The generic load algorithm of the office supports both ones - but prefered the synchronous interface.

See also

Methods' Summary
load starts the loading of the specified resource into the specified Frame.  
cancel cancels the loading process.  
Methods' Details
[oneway] void
load( [in] XFrame  Frame,
[in] string  URL,
[in] sequence< ::com::sun::star::beans::PropertyValue >  Arguments,
[in] XLoadEventListener  Listener );

starts the loading of the specified resource into the specified Frame.
Parameter Frame
specifies the loading target
Parameter URL
describes the ressource of loading component Support of special protocols are implementation details and depends from the environment.
Parameter Arguments
optional arguments for loading (see ::com::sun::star::document::MediaDescriptor for further informations)
Parameter Listener
this listener will be informed about success
See also
[oneway] void

cancels the loading process.

After returning from this call, neither the frame nor the load-event-listener specified in XFrameLoader::load() may be called back. Because only the owner of this process who called load method before can cancel this process. And he doesn't need any notification about that. On the other hand - nobody then this owner himself can be registered as an XLoadEventListener here.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.