LibreOffice
LibreOffice 25.2 SDK API Reference
 
Loading...
Searching...
No Matches
XMultiComponentFactory Interface Referencepublished

Factory interface for creating component instances giving a context from which to retrieve deployment values. More...

import "XMultiComponentFactory.idl";

Inheritance diagram for XMultiComponentFactory:
XInterface MultiServiceFactory XUIControllerFactory CanvasFactory ServiceManager ChartTypeManager PopupMenuControllerFactory StatusbarControllerFactory ToolbarControllerFactory thePopupMenuControllerFactory theStatusbarControllerFactory theToolbarControllerFactory

Public Member Functions

com::sun::star::uno::XInterface createInstanceWithContext ([in] string aServiceSpecifier, [in] com::sun::star::uno::XComponentContext Context) raises (com::sun::star::uno::Exception)
 Creates an instance of a component which supports the services specified by the factory.
 
com::sun::star::uno::XInterface createInstanceWithArgumentsAndContext ([in] string ServiceSpecifier, [in] sequence< any > Arguments, [in] com::sun::star::uno::XComponentContext Context) raises (com::sun::star::uno::Exception)
 Creates an instance of a component which supports the services specified by the factory, and initializes the new instance with the given arguments and context.
 
sequence< string > getAvailableServiceNames ()
 Gets the names of all supported services.
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
 
void acquire ()
 increases the reference counter by one.
 
void release ()
 decreases the reference counter by one.
 

Detailed Description

Member Function Documentation

◆ createInstanceWithArgumentsAndContext()

com::sun::star::uno::XInterface createInstanceWithArgumentsAndContext ( [in] string ServiceSpecifier,
[in] sequence< any > Arguments,
[in] com::sun::star::uno::XComponentContext Context )
raises (com::sun::star::uno::Exception )

Creates an instance of a component which supports the services specified by the factory, and initializes the new instance with the given arguments and context.

Parameters
ServiceSpecifierservice name
Argumentsarguments
Contextcontext the component instance gets its deployment values from
Returns
component instance

◆ createInstanceWithContext()

com::sun::star::uno::XInterface createInstanceWithContext ( [in] string aServiceSpecifier,
[in] com::sun::star::uno::XComponentContext Context )
raises (com::sun::star::uno::Exception )

Creates an instance of a component which supports the services specified by the factory.

Parameters
aServiceSpecifierservice name
Contextcontext the component instance gets its deployment values from
Returns
component instance

◆ getAvailableServiceNames()

sequence< string > getAvailableServiceNames ( )

Gets the names of all supported services.

Returns
sequence of all service names

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