[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: how can I add some functions to kspread?
From:       Laurent Montel <lmontel () mandrakesoft ! com>
Date:       2001-10-26 6:07:42
[Download RAW message or body]

Le Thursday 25 October 2001 21:38, Dietmar Frohböse a écrit :
> Hi,
>

Hi,

> I want to do add some functions to kspread dealing with dates (and
> time). (e.g. calculation interest days in some kinds)
>
> Who is already working on this topic?

I work on this topic.

>
> What can I do, if I have a request to change an existing function
> currentDate()?
> // now:    context.setValue( new
> KSValue(KGlobal::locale()->formatDate(QDate::currentDate())));
> // request:    context.setValue( new KSValue(QDate::currentDate())); //
> store internal date as QDate

Sorry don't change this function, but create new function.
go to kspread_interpreter.cc, and create function document in 
extension/builtin.xml, and send me your patch.

>
> greetings
>
> Dietmar Frohböse

Regards

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic