Enable JavaScript in the browser to display LibreOfficeDev Help pages.

GetProcessServiceManager Function

Vráti službu typu ProcessServiceManager (centrálny ServiceManager pre Uno).

Táto funkcia je potrebná pokiaľ chcete inicializovať službu pomocou CreateInstanceWithArguments.

Syntax:

oServiceManager = GetProcessServiceManager()

Example:


    oServiceManager = GetProcessServiceManager()
    oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection");
    ' this is the same as the following statement:
    oIntrospection = CreateUnoService("com.sun.star.beans.Introspection")