allows to exclicitly free resources and break cyclic references.
Description
represents a component which is created from an URL and arguments.
It is a representation of a resource in the sense that it was
created/loaded from the resource. The arguments are passed to the loader
to modify its behavior. An example for such an argument is "AsTemplate",
which loads the resource as a template for a new document.
(see ::com::sun::star::document::MediaDescriptor for further details)
Models can be controlled by controller components, which are usually
views of the model.
(see Controller for further details)
If there is at least one controller, there is by definition a
current controller. And if that controller supports the interface
::com::sun::star::view::XSelectionSupplier, it has a current selection too.
provides read acces on currently representation of the
::com::sun::star::document::MediaDescriptor
of this model which describes the model and his state
provides read acces on currently representation of the
::com::sun::star::document::MediaDescriptor
of this model which describes the model and his state
Returns
the arguments with which the model was originally created or
stored the last time.
suspends some notifications to the controllers which are used
for display updates.
The calls to XModel::lockControllers() and
XModel::unlockControllers() may be
nested and even overlapping, but they must be in pairs. While
there is at least one lock remaining, some notifications
for display updates are not broadcasted.
The calls to XModel::lockControllers() and
XModel::unlockControllers() may be
nested and even overlapping, but they must be in pairs. While
there is at least one lock remaining, some notifications for
display updates are not broadcasted.
provides access to the controller which currently controls this model
Returns
If the controller which is active is a controller of this model,
it will be returned. If not, the controller which was the last
active of this model is returned. If no controller of this model
ever was active, the controller first registered is returned. If no
controller is registered for this model, NULL is returned.