Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: 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 Frame inside a Desktop environment. A controller is a richer component then a pure window, but full featured components need a XModel interface too.
(see service ::com::sun::star::document::OfficeDocument for further information)

See also
::com::sun::star::document::OfficeDocument
Developers Guide
OfficeDev - Component - Controllers - Document Specific Controller Services
OfficeDev - Component - Controllers - XController
Text - Text Document Controller
OfficeDev - Controllers

Exported Interfaces - Summary
XController

with this interface, components viewed in a Frame can serve events (by supplying dispatches)

XDispatchProvider

for certain functions which are useful at the UI (details)

::com::sun::star::ui::XContextMenuInterception

this interface enables the controller to get interceptors registered that change context menue or prevent them from beeing executed (details)

::com::sun::star::awt::XUserInputInterception

makes it possible to intercept keyboard and mouse input. (details)

::com::sun::star::view::XSelectionSupplier

makes it possible to access and change the selection in a view (details)

::com::sun::star::datatransfer::XTransferableSupplier

makes it possible to work with clipboard data (details)

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

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

See also
XDispatch, 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 XDispatchProviderInterception which intercept calls of 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
::com::sun::star::datatransfer::XTransferableSupplier
Usage Restrictions
optional
Description
makes it possible to work with clipboard data

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.