Hello!
I noticed we never declared oPar
, like:
global oPar as string
in the code:
Sub k
oParEnum = ThisComponent.getText.createEnumeration
Do While oParEnum.hasMoreElements()
oPar = oParEnum.nextElement()
x=x+1
a(x)=oPar
print oPar.getString
Loop
End Sub
Do we have to declare it at all? (I think in oooB we don’t…)
Many thanks for explanation!