LibreOffice
LibreOffice 24.2 SDK API Reference
Included Services | List of all members
ContentLoader Service Referencepublished

implements a loader for various datasource-related user interface components. More...

import"ContentLoader.idl";

Inheritance diagram for ContentLoader:
FrameLoader XFrameLoader XInitialization XNamed XInterface XInterface XInterface

Included Services

service com::sun::star::frame::FrameLoader
 ensures the basic functionality. More...
 

Additional Inherited Members

- Exported Interfaces inherited from FrameLoader
interface XFrameLoader
 support asynchronous loading of the component More...
 
interface com::sun::star::lang::XInitialization
 support initialization of loader with its own configuration! More...
 
interface com::sun::star::container::XNamed
 provides access to the internal name of this frame loader More...
 
- Public Member Functions inherited from XFrameLoader
void load ([in] XFrame Frame, [in] string URL, [in] sequence< com::sun::star::beans::PropertyValue > Arguments, [in] XLoadEventListener Listener)
 starts the loading of the specified resource into the specified Frame. More...
 
void cancel ()
 cancels the loading process. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 
- Protected Member Functions inherited from XInitialization
void initialize ([in] sequence< any > aArguments) raises ( com::sun::star::uno::Exception )
 initializes the object. More...
 
- Protected Member Functions inherited from XNamed
string getName ()
 
void setName ([in] string aName)
 sets the programmatic name of the object. More...
 

Detailed Description

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

Usually, you don't deal with this loader directly. Instead, use an instance with the com::sun::star::frame::XComponentLoader interface, and pass one of the below-mentioned URLs to it.

See also
com::sun::star::frame::XComponentLoader
com::sun::star::frame::Desktop

Exported Interfaces

◆ com::sun::star::frame::FrameLoader

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 com::sun::star::sdb::DataSourceBrowser service and plugs it into the frame passed to the loader.
  • .component:DB/FormGridView
    Using this URL creates an instance of the com::sun::star::sdb::ExternalSourceBrowser service and plugs it into the frame passed to the loader.
  • .component:DB/QueryDesign
    Using this URL creates an instance of the com::sun::star::sdb::QueryDesign service and plugs it into the frame passed to the loader.
  • .component:DB/TableDesign
    Using this URL creates an instance of the com::sun::star::sdb::TableDesign service and plugs it into the frame passed to the loader.
  • .component:DB/RelationDesign
    Using this URL creates an instance of the com::sun::star::sdb::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 being created, in particular to its com::sun::star::lang::XInitialization interface.


The documentation for this service was generated from the following file: