LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XSingleComponentFactory Interface Referencepublished

Factory interface to create instances of an implementation of a service specification. More...

import"XSingleComponentFactory.idl";

Inheritance diagram for XSingleComponentFactory:
XInterface theWindowContentFactoryManager UIElementSettings WindowContentFactory WindowContentFactoryManager

Public Member Functions

com::sun::star::uno::XInterface createInstanceWithContext ([in] com::sun::star::uno::XComponentContext Context) raises (com::sun::star::uno::Exception)
 Creates an instance of a service implementation. More...
 
com::sun::star::uno::XInterface createInstanceWithArgumentsAndContext ([in] sequence< any > Arguments, [in] com::sun::star::uno::XComponentContext Context) raises ( com::sun::star::uno::Exception )
 Creates an instance of a component and initializes the new instance with the given arguments and context. 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 to create instances of an implementation of a service specification.

See also
XInitialization

Member Function Documentation

◆ createInstanceWithArgumentsAndContext()

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

Creates an instance of a component and initializes the new instance with the given arguments and context.

Parameters
Argumentsarguments passed to implementation
Contextthe instance gets its deployment values from this
Returns
component instance

◆ createInstanceWithContext()

Creates an instance of a service implementation.

Parameters
Contextthe instance gets its deployment values from this
Returns
component instance

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