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

service ContentLoader
Description
implements a loader for various datasource-related user interface components.

Usually, you don't deal with this loader directly. Instead it is registered for a particular URL scheme, and you use the dispatch mechanism provided by the application framework, dispatching URLs the loader is registered for.

See also
::com::sun::star::frame::XDispatch, ::com::sun::star::frame::XDispatchProvider

Included Services
::com::sun::star::frame::FrameLoader
Description
ensures the basic functionality.

Supporting this service ensures that you can plug any of the components the loader can create into an arbitrary frame.

The loader should be registered for the URL scheme .component:DB/ * , the concrete URLs supported are:
  • .component:DB/DataSourceBrowser
    Using this URL creates an instance of the DataSourceBrowser service and plugs it into the frame passed to the loader.
  • .component:DB/FormGridView
    Using this URL creates an instance of the ExternalSourceBrowser service and plugs it into the frame passed to the loader.
  • .component:DB/QueryDesign
    Using this URL creates an instance of the QueryDesign service and plugs it into the frame passed to the loader.
  • .component:DB/TableDesign
    Using this URL creates an instance of the TableDesign service and plugs it into the frame passed to the loader.
  • .component:DB/RelationDesign
    Using this URL creates an instance of the RelationDesign service and plugs it into the frame passed to the loader.
The parameters passed to the ::com::sun::star::frame::XFrameLoader::load() are forwarded to the object beeing created, in particular to it's ::com::sun::star::lang::XInitialization interface.

 
Top of Page