openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Pitonyak <and...@pitonyak.org>
Subject Re: OpenOffice Calc Javascript Function
Date Fri, 13 Mar 2015 12:16:17 GMT
Trivial to do in basic. If the macro is visible you can call it from calc. Might be the same
with JavaScript.

Is your problem understanding how to write something calc sees or what to put in it?

On Mar 13, 2015 1:50 AM, "Igal @ Lucee.org" <igal@lucee.org> wrote:
>
> Hi all, 
>
> I want to write a simple function to be used in OpenOffice Calc. 
>
> It would return true if the cell's value contains a substring, e.g. 
>
> |function contains(string, substring) { 
>
>     return (string.indexOf(substring) > -1); 
> }| 
>
> But I can't find any documentation or examples on that. 
>
> Any ideas? 
>
> TIA 
>
> p.s. this is a crosspost with 
> http://stackoverflow.com/questions/29025195/openoffice-calc-javascript-function 
>
> -- 
>
> Igal Sapir 
> Lucee Core Developer 
> Lucee.org <http://lucee.org/> 
>
Mime
View raw message