[sc-dev] Formation of Matrix formula

2010-08-13 Thread rashi dhing
Hi !! Can you tell me where exactly is the matrix fomula formed (i.e) where are the curly brackets added to form the matrix formula. Is it done by the edit engine ?? Thanks a ton ! Rashi

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 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 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 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] Absurd behaviour while displaying values in a range of cells

2010-07-06 Thread rashi dhing
the values onto the sheet. PushMatrix pushes the matrix onto the stack but that does not serve my purpose !! -Rashi On Wed, Jun 16, 2010 at 7:08 PM, Eike Rathke e...@openoffice.org wrote: Hi rashi, On Friday, 2010-06-04 14:10:31 +0300, rashi dhing wrote: Hi Eike, Could you tell me why modifying

Re: [sc-dev] Absurd behaviour while displaying values in a range of cells

2010-07-06 Thread rashi dhing
Hi Eike, So does this mean that if I create a matrix formula range and call PushMatrix, I will have the result displayed on the sheet ? Thanks, Rashi On Tue, Jul 6, 2010 at 2:22 PM, Eike Rathke e...@openoffice.org wrote: Hi rashi, On Tuesday, 2010-07-06 12:40:35 +0300, rashi dhing wrote

Re: [sc-dev] Absurd behaviour while displaying values in a range of cells

2010-06-04 Thread rashi dhing
+0300, rashi dhing wrote: I have defined a function in which I take as input, cell values from a range and after doing some calculation output them on the spreadsheet using the ScDocument::SetString and ScDocument::SetValue functions. Modifying sheet content while interpreting functions

Re: [sc-dev] Range Highlighter Anchor Handle

2010-05-31 Thread rashi dhing
...@sun.com wrote: On 05/30/10 10:54, rashi dhing wrote: Whenever a range is referenced, there is this anchor handle that allows one to grow or resize the selected range. Now the anchor only appears whenever the focus is in the inputline. I am trying to find the function that is responsible

Re: [sc-dev] Debug the Calc Source Code

2010-04-11 Thread rashi dhing
I am getting the error The breakpoint will not currently be hit. No symbols have been loaded for this document after adding a breakpoint to a line in the source file. I have been doing the following: 1) Running Calc by clicking in scalc.exe from the programs dir of the installation set. 2)

Re: [sc-dev] Re: [dev] Debug the Calc Source Code

2010-04-08 Thread rashi dhing
Thanks for all the details Tor ! On Tue, Apr 6, 2010 at 1:11 PM, Tor Lillqvist tlillqv...@novell.com wrote: I am using Cygwin on Windows to compile Yeah, but the actual compiler you are using is Microsoft's Visual Studio 2008 surely. If you didn't know this, I am a bit surprised that you

[sc-dev] Debug the Calc Source Code

2010-04-06 Thread rashi dhing
Hi ! Is there a good debugger which can be implemented on the source code of openoffice inorder to step into the lines and add break points at various locations of the code. I am using Cygwin on Windows to compile and build the code. Are gdb and C++ Builder good options ? Would it involve loading

Re: [sc-dev] Reading and writing to cells

2010-04-06 Thread rashi dhing
! On Tue, Apr 6, 2010 at 11:02 AM, Niklas Nebel niklas.ne...@sun.com wrote: On 04/05/10 08:37, rashi dhing wrote: Hi ! I wanted to name of the module in the sc project that handles reading and writing to cells and also formula calculations . Had a look at sc/source/core/data/cell.cxx

[sc-dev] Reading and writing to cells

2010-04-05 Thread rashi dhing
Hi ! I wanted to name of the module in the sc project that handles reading and writing to cells and also formula calculations . Had a look at sc/source/core/data/cell.cxx but didn't find anything substantial. Many thanks !!! -Rashi

[sc-dev] Linker error on adding a new module to the sc project

2009-12-15 Thread rashi dhing
Hi , I've been having a hard trying trying building a new module (directory) that I added to the sc project. I am using cygwin in windows to do the build. I want to parse the formula string that is entered in the formula bar and i created a new class called ScParser under the sc/source/ui/parser

Re: [sc-dev] Linker error on adding a new module to the sc project

2009-12-15 Thread rashi dhing
wrote: On 12/15/09 15:00, rashi dhing wrote: Hi , I've been having a hard trying trying building a new module (directory) that I added to the sc project. I am using cygwin in windows to do the build. I want to parse the formula string that is entered in the formula bar and i created a new class

[sc-dev] API for Calc Input Line

2009-10-08 Thread rashi dhing
Greetings Dev team ! I wanted to know if the Calc Input line and all its properties like text, font, colors etc. could be made available through the API. Does anyone have any experience dealing with the Input line ? Gracias, Rashi.

Re: [sc-dev] Accessing the Calc Formula Bar Input Line

2009-09-15 Thread rashi dhing
and regards, Rashi D. On Mon, Sep 14, 2009 at 3:07 PM, Niklas Nebel niklas.ne...@sun.com wrote: On 09/12/09 14:34, rashi dhing wrote: In excel, when you select different ranges in a formula (arguments that are range objects) , the formula bar highlights the range names as well as the actual cell

Re: [sc-dev] Accessing the Calc Formula Bar Input Line

2009-09-15 Thread rashi dhing
Niklas, appreciate all your help ! Thank you ! On 9/15/09, Niklas Nebel niklas.ne...@sun.com wrote: On 09/15/09 08:32, rashi dhing wrote: Hi Niklas, Thanks for your response. I just need to know how to trace and locate the right file to inspect and modify from the pool of cpp files

[sc-dev] Accessing the Calc Formula Bar Input Line

2009-09-12 Thread rashi dhing
Hello Dev Team, I have been trying to extend the functionality of the Calc formula bar input line. Let me explain the scenario first : I have defined a function that takes in a single argument which is a string and contains, apart from other tokens, range names. I would like to highlight these