Hi Regina, On Sun, 2008-08-03 at 18:53 +0200, Regina Henschel wrote: > Hello, > > I'm writing a function, which is local in interpr3.cxx. For this > function I need erfc() or getErfc() from scaddins. How to get it?
Looks to me like the easiest way to get there is via UNO call; instantiate a service "com.sun.star.sheet.addin.Analysis", which should find and instantiate the AnalysisAddIn class in the scaddins module. You can then query the interface for XAnalysis (in the same namespace as the service) to call getErfc(). ScDocument has this GetServcieManager() call to get you the service manager instance, and from that you can instantiate UNO services. HTH, Kohei -- Kohei Yoshida - OpenOffice.org Engineer - Novell, Inc. <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
