Class ServicePartialT

protocol ooodev.utils.partial.service_partial_t.ServicePartialT[source]

Type for ServicePartial Class.

Classes that implement this protocol must have the following methods / attributes:

get_services()[source]

Gets service names for the instance.

Returns:

service names

Return type:

List[str]

support_service(*service)[source]

Gets if instance supports a service.

Parameters:

*service (str) – Variable length argument list of UNO namespace strings such as com.sun.star.configuration.GroupAccess

Returns:

True if instance supports any passed in service; Otherwise, False

Return type:

bool