LibreOffice
LibreOffice 5.3 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
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 XUIControllerFactory MultiServiceFactory CanvasFactory PopupMenuControllerFactory StatusbarControllerFactory thePopupMenuControllerFactory theStatusbarControllerFactory theToolbarControllerFactory ToolbarControllerFactory ChartTypeManager ServiceManager

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. More...
 
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. More...
 
sequence< string > getAvailableServiceNames ()
 Gets the names of all supported services. 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...
 

Detailed Description

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

See Also
XInitialization
Developers Guide
ProUNO - Service Manager and Component Context
FirstSteps - First Contact - Getting Started
ProUNO - Java - Getting a Service Manager
ProUNO - C++ - Establishing Interprocess Connections
ProUNO - UNO Interprocess Connections
ProUNO - C++ - Transparent Use of Office UNO Components
ProUNO - Java - Transparent Use of Office UNO Components

Member Function Documentation

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
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
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: