openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J├╝rgen Schmidt <jogischm...@gmail.com>
Subject Re: How to give string as the input in open office calc extensions
Date Fri, 11 Oct 2013 12:53:38 GMT
On 10/11/13 2:42 PM, Samiththa Bashani wrote:
>  I tried the example that  is provided in open office tutorials(myRNG:
> http://wiki.openoffice.org/wiki/Simple_Calc_Add-in)
> 
> As it mentioned it can handled double inputs. But i can't find a way to
> handled strings as inputs.
> ex:
> 
> Sub Main
> 	mgr = getProcessServiceManager()
> 	o = mgr.createInstance("org.openoffice.sheet.addin.RNG")
> 	//MsgBox o.expo(10)   //this is what tutorial has explained.
>          MsgBox o.expo("asd123asd")   // this is what i want to read
>  End Sub
> 
> Detailed answer will be highly apreciated.

The IDL description defines a function

double expo( [in] double m );

This have to be changed to use a string parameter. And the
implementation has to be adapted accordingly.

Juergen


> 
> thank you.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message