傳回 ProcessServiceManager (中央 Uno ServiceManager)。
當您想用 CreateInstanceWithArguments 來實例化一項服務時,需要使用此函數。
oServiceManager = GetProcessServiceManager()
oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection");
與以下陳述式相同:
oIntrospection = CreateUnoService("com.sun.star.beans.Introspection")