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

service Controller
Description
is an abstract service for a component which offers a deeper integration of desktop components than a ::com::sun::star::awt::XWindow can offer

Such components can be loaded into a ::com::sun::star::frame::Frame inside a ::com::sun::star::frame::Desktop environment. A controller is a richer component then a pure window, but full featured components need a ::com::sun::star::frame::XModel interface too.
(see service ::com::sun::star::document::OfficeDocument for further information)

See also
::com::sun::star::document::OfficeDocument
Developers Guide
6.1.1 Office Development - OpenOffice.org Application Environment - Overview - Framework API - Controllers
6.1.3 Office Development - OpenOffice.org Application Environment - Using the Component Framework - Controllers - XController
6.1.3 Office Development - OpenOffice.org Application Environment - Using the Component Framework - Controllers - Document Specific Controller Services
7.5 Text Documents - Text Document Controller

Exported Interfaces
::com::sun::star::frame::XController
Description
with this interface, components viewed in a ::com::sun::star::frame::Frame can serve events (by supplying dispatches)
::com::sun::star::frame::XDispatchProvider
Description
for certain functions which are useful at the UI

Mostly used by the ::com::sun::star::frame::Frame service, which contains this controller object. There will be an interception mechanism for dispatches available too.

See also
::com::sun::star::frame::XDispatch
See also
::com::sun::star::frame::XDispatchProviderInterception
::com::sun::star::ui::XContextMenuInterception
Usage Restrictions
optional
Description
this interface enables the controller to get interceptors registered that change context menue or prevent them from beeing executed

Don't mix it with ::com::sun::star::frame::XDispatchProviderInterception which intercept calls of ::com::sun::star::frame::XDispatch::dispatch() .

::com::sun::star::awt::XUserInputInterception
Usage Restrictions
optional
Description
makes it possible to intercept keyboard and mouse input.
::com::sun::star::view::XSelectionSupplier
Usage Restrictions
optional
Description
makes it possible to access and change the selection in a view

 
Top of Page