Enable JavaScript in the browser to display LibreOfficeDev Help pages.

GetProcessServiceManager Function

Liveras je ProcessServiceManager (centra servomastrumilo por Uno)

Oni bezonas ĉi tiun funkcion kiam oni volas generi servon per 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")