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

interface XSynchronousFrameLoader
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XSynchronousFrameLoader
Description
loads a resource into a Frame .

Unlike the XFrameLoader interface, this loading will be synchronous.

See also
XFrameLoader

Methods' Summary
load starts the loading of the specified resource into the specified Frame .
cancel cancels the loading process.
Methods' Details
load
boolean
load(
 
[in] sequence< ::com::sun::star::beans::PropertyValue >
[in] XFrame
 
Descriptor,
Frame );

Description
starts the loading of the specified resource into the specified Frame .
Parameter Descriptor
describes the ressource which should be loaded It use a ::com::sun::star::document::MediaDescriptor for that.
Parameter Frame
the target frame which should contain the new loaded component
Returns
true if loading is successfully
false otherwise
cancel
void
cancel();
 
 

Description
cancels the loading process.

No notifications (neither to the frame or the caller) must be notified. Because it's a synchronous process this cancel call can be forced by another thread the the loader thread only. Method XSynchronousFrameLoader::load() must return false then and caller of this method XSynchronousFrameLoader::cancel() already knows the state ...

Top of Page