Re: [sc-dev] Include file error

2010-07-21 Thread Eike Rathke
Hi rashi, On Tuesday, 2010-07-20 20:09:38 +0300, rashi dhing wrote: Right now static would be fine but at a later stage I will want them to dynamically update when other cells change. All change notifications of referenced cells to their dependents is done based on the RPN token array of the

Re: [sc-dev] Include file error

2010-07-20 Thread Niklas Nebel
On 07/19/10 20:28, rashi dhing wrote: How it works is that the formula contains the range that will be populated with the result and only those cells of the range are filled with the result. So the issue of overwriting previous content does not apply here as only empty ranges are selected !!

Re: [sc-dev] Include file error

2010-07-20 Thread rashi dhing
Right now static would be fine but at a later stage I will want them to dynamically update when other cells change. Thanks, Rashi On Tue, Jul 20, 2010 at 1:47 PM, Niklas Nebel niklas.ne...@oracle.comwrote: It still seems unusual. Are these formulas supposed to be static, or should they be

Re: [sc-dev] Include file error

2010-07-19 Thread Niklas Nebel
On 07/19/10 11:54, rashi dhing wrote: Thanks Niklas Eike. So if I have understood correctly, I need to add my operation to the list of functions (add,max etc.) so that when I call the ScFormulaCell::Interpret, the formula gets evaluated according to my function. But that requires an opcode,

Re: [sc-dev] Include file error

2010-07-19 Thread rashi dhing
Hi Niklas, I have defined a formula that contains deductive clauses which follow a different grammar and I have already written the evaluation function, the result of which is a matrix. I was thinking I could just call ScInterpreter::PushMatrix which would print the result but again, my function

Re: [sc-dev] Include file error

2010-07-19 Thread Niklas Nebel
On 07/19/10 12:26, rashi dhing wrote: Hi Niklas, I have defined a formula that contains deductive clauses which follow a different grammar and I have already written the evaluation function, the result of which is a matrix. I was thinking I could just call ScInterpreter::PushMatrix which would

Re: [sc-dev] Include file error

2010-07-19 Thread rashi dhing
I've defined a class which I call the ScDeductive in sc/source/ui/deductive. I have defined a function StartEval which evaluates the clause( formula ) and returns an array as a result. This function is called from ScInputHandler::DataChanged . I enter the formula in a cell but I would like to

Re: [sc-dev] Include file error

2010-07-19 Thread Niklas Nebel
On 07/19/10 15:24, rashi dhing wrote: I've defined a class which I call the ScDeductive in sc/source/ui/deductive. I have defined a function StartEval which evaluates the clause( formula ) and returns an array as a result. This function is called from ScInputHandler::DataChanged . I enter the

Re: [sc-dev] Include file error

2010-07-19 Thread rashi dhing
How it works is that the formula contains the range that will be populated with the result and only those cells of the range are filled with the result. So the issue of overwriting previous content does not apply here as only empty ranges are selected !! Rashi On Mon, Jul 19, 2010 at 7:14 PM,

Re: [sc-dev] Include file error

2010-07-07 Thread rashi dhing
Thanks Niklas and Daniel. I was trying to call interpre.hxx (sc/source/core/inc) from a cxx file in sc/source/ui/newFolder . Wanted to use a certain function of the ScInterpreter class ! Can I give the whole path sc/source/core/interpre.hxx and use it ? There are several existing locations for

Re: [sc-dev] Include file error

2010-07-07 Thread Niklas Nebel
On 07/07/10 10:50, rashi dhing wrote: Thanks Niklas and Daniel. I was trying to call interpre.hxx (sc/source/core/inc) from a cxx file in sc/source/ui/newFolder . Wanted to use a certain function of the ScInterpreter class ! Can I give the whole path sc/source/core/interpre.hxx and use it ? I

Re: [sc-dev] Include file error

2010-07-07 Thread Eike Rathke
Hi Rashi, On Wednesday, 2010-07-07 11:09:00 +0200, Niklas Nebel wrote: On 07/07/10 10:50, rashi dhing wrote: Wanted to use a certain function of the ScInterpreter class ! Can I give the whole path sc/source/core/interpre.hxx and use it ? I wouldn't recommend that. If you have a function

Re: [sc-dev] Include file error

2010-07-06 Thread Daniel Rentz
rashi dhing schrieb: This is probably a very basic question but I am getting a compile error while trying to include the interpre.hxx in my module which happens to be located in a new directory in the sc/source/ui path. How can I resolve this ? There are several existing locations for header