On 06/11/10 00:08, Regina Henschel wrote:
please have a look at the Basic macro
sub ExamineService
dim oService
oService = CreateUnoService("com.sun.star.sheet.AddIn")
dim sProgrammaticName as String
sProgrammaticName = "getImtan"
dim sDisplayName as String
sDisplayName = oService.getDisplayFunctionName(sProgrammaticName)
msgbox(sDisplayName)
dim sProgrammaticNameBack as String
sProgrammaticNameBack = oService.getProgrammaticFuntionName(sDisplayName)
msgbox(sProgrammaticNameBack)
end sub
In the first message box I get as expected IMTAN.
But in the second message box sProgrammaticNameBack is empty.
getProgrammaticFuntionName isn't implemented in the analysis add-in
because it's not used by Calc (that's also why the misspelled name
wasn't noticed until it was too late).
Niklas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org