LibreOffice 5.3 SDK API Reference
initializes an object directly after its creation. More...
|void||initialize ([in] sequence< any > aArguments) raises ( com::sun::star::uno::Exception )|
|initializes the object. More...|
|Public Member Functions inherited from XInterface|
|any||queryInterface ([in] type aType)|
|queries for a new interface to an existing UNO object. More...|
|increases the reference counter by one. More...|
|decreases the reference counter by one. More...|
initializes an object directly after its creation.
This interface works together with factories. If you want to initialize the object after creation, you should support this interface and you may support other interfaces which offer type-safe initialization methods.
Instead of calling XSingleComponentFactory::createInstanceWithContext() and later initialize(), you should call XSingleComponentFactory::createInstanceWithArgumentsAndContext() to pass the arguments to the instance. The reason is, that a component may want to return the same instance for the same set of parameters, and it can do so by implementing the factory itself.
|void initialize||(||[in] sequence< any >||aArguments||)|
initializes the object.
It should be called directly after the object is created.