Liest zu einer gewünschten Eigenschaft eines Proprtyarrays
(com.sun.star.beans.Propertyvalue) den Wert und Index aus. Zusätzlich wir der Name mit
zurückgegeben.
Der Rückgabewert ist ein Array mit drei Elementen.
function GetPropertyValandInd(aProperty as array,propName as string)
Dim Ergeb(2) as string
for i=0 to ubound(aProperty())
if aProperty(i).name = propName then
Ergeb(0)=propName
Ergeb(1)=aProperty(i).value
Ergeb(2)=i
end if
next
GetPropertyValueAndIndex()=Ergeb()
end function