LibreOffice
LibreOffice 24.2 SDK API Reference
|
loads a resource into a Frame. More...
import"XSynchronousFrameLoader.idl";
Public Member Functions | |
boolean | load ([in] sequence< com::sun::star::beans::PropertyValue > Descriptor, [in] XFrame Frame) |
starts the loading of the specified resource into the specified Frame. More... | |
void | cancel () |
cancels the loading process. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
loads a resource into a Frame.
Unlike the XFrameLoader interface, this loading will be synchronous.
void cancel | ( | ) |
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 loader thread only. Method XSynchronousFrameLoader::load() must return FALSE
then and caller of this method XSynchronousFrameLoader::cancel() already knows the state ...
boolean load | ( | [in] sequence< com::sun::star::beans::PropertyValue > | Descriptor, |
[in] XFrame | Frame | ||
) |
starts the loading of the specified resource into the specified Frame.
Descriptor | describes the resource which should be loaded It use a com::sun::star::document::MediaDescriptor for that. |
Frame | the target frame which should contain the new loaded component |
TRUE
if loading is successfully FALSE
otherwise