Helpo de LibreOfficeDev 25.8
Testas ĉu Basic Uno objekto subtenas specifan Uno-interfacon.
Liveras valoron True, se ĉiuj specifitaj interfacoj estas subtenataj, alie False liveriĝas.
HasUnoInterfaces( oTest, Uno-Interface-Name 1 [, Uno-Interface-Name 2, ...])
Bool
| Name | Type | Description | 
|---|---|---|
| oTest | Object | the Basic Uno object that you want to test. | 
| Uno-Interface-Name 1,  | String | Uno interface name(s) | 
Sub HasInterface
    Dim bHas as Boolean
    Dim oSheet as Object
    oSheet = ThisComponent.Sheets(0) 
    bHas = HasUnoInterfaces( oSheet, "com.sun.star.beans.XIntrospection" )
    Print bHas ' = True
End Sub