Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: sdb :: application ::

unpublished service DefaultViewController
Usage Restrictions
not published
Description
is the default controller implementation for OpenOffice.org's database application.

Included Services - Summary
::com::sun::star::frame::Controller

defines basic controller functionality

Exported Interfaces - Summary
::com::sun::star::ui::XContextMenuInterception

allows intercepting context menu requests done by the user (details)

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

allows intercepting user input done by the user

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

provides access to the current selection inside the application window, and allows to change it programmatically (details)

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

allows to retrieve and set the title which of the component

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

allows being notified about changes in the component's title

XDatabaseDocumentUI

allows programmatic access to aspects of the application's user interface.

Included Services - Details
::com::sun::star::frame::Controller
Description
defines basic controller functionality
Exported Interfaces - Details
::com::sun::star::ui::XContextMenuInterception
Description
allows intercepting context menu requests done by the user

The ::com::sun::star::ui::ContextMenuExecuteEvent::Selection member of the event passed to an interceptor will not be the controller itself (though the controller also supports the XSelectionSupplier interface), but a component which descrbes the current selection of the very window where the context menu was requested.

In OpenOffice.org's database application, database objects such as tables, queries, forms, reports are displayed in a tree-like fashion. Currently, only context menu requests on this tree view can be intercepted using the XContextMenuInterception interface. Context menu requests in other places cannot be intercepted.

For the aforementioned tree view, the selection supplied by the ContextMenuEvent::Selection component is an array of NamedDatabaseObject instances.

::com::sun::star::awt::XUserInputInterception
Description
allows intercepting user input done by the user
::com::sun::star::view::XSelectionSupplier
Description
provides access to the current selection inside the application window, and allows to change it programmatically

The selection is an array of NamedDatabaseObject instances.

::com::sun::star::frame::XTitle
Description
allows to retrieve and set the title which of the component
::com::sun::star::frame::XTitleChangeBroadcaster
Description
allows being notified about changes in the component's title
XDatabaseDocumentUI
Description
allows programmatic access to aspects of the application's user interface.

 
Top of Page

Apache Software Foundation

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

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