LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides functionality to implement objects which may be loaded. More...
import"XLoadable.idl";
Public Member Functions | |
void | load () |
loads the data. More... | |
void | unload () |
unloads the data. More... | |
void | reload () |
does a smart refresh of the object. More... | |
boolean | isLoaded () |
returns if the object is in loaded state. More... | |
void | addLoadListener ([in] com::sun::star::form::XLoadListener aListener) |
adds the specified listener to receive load-related events More... | |
void | removeLoadListener ([in] com::sun::star::form::XLoadListener aListener) |
removes the specified listener. 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... | |
provides functionality to implement objects which may be loaded.
The object is typically implemented by high-level objects which can connect to a data source.
void addLoadListener | ( | [in] com::sun::star::form::XLoadListener | aListener | ) |
adds the specified listener to receive load-related events
aListener | the listener to add. |
boolean isLoaded | ( | ) |
returns if the object is in loaded state.
void load | ( | ) |
loads the data.
If the data is already loaded (->isLoaded), then the method returns silently. In this case, you should use ->reload.
void reload | ( | ) |
does a smart refresh of the object.
The final state will be the same as if unload and load were called, but reload is the more efficient way to do the same. If the object isn't loaded, nothing happens.
void removeLoadListener | ( | [in] com::sun::star::form::XLoadListener | aListener | ) |
removes the specified listener.
aListener | the listener to remove. |
void unload | ( | ) |
unloads the data.