GetProcessServiceManager Function

Devolve o ProcessServiceManager (Uno ServiceManager central).

Esta função é necessária quando se pretende instanciar um serviço através de CreateInstanceWithArguments.

Sintaxe:

oServiceManager = GetProcessServiceManager()

Exemplo:

oServiceManager = GetProcessServiceManager()

oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection");

' é o mesmo que a seguinte instrução:

oIntrospection = CreateUnoService("com.sun.star.beans.Introspection")