Hi Niklas ! I came across SetValue / SetString and GetValue / GetString functions in the document.cxx which work at the cell level . I was actually looking for something at the range level (i.e) which can give me the values/contents of the entire range in some array so that I don't have to iterate over each cell of the range .
Could you also shed some light on the following : - Which file handles the calculations and recalculations in the spreadsheet. Is it ScDocument again ? - Where exactly is ScRange (class / struct ?) defined ? Can't seem to locate it. - What exactly is " tableview " ? Does it refer to all the cells on the spreadsheet ? I know that Topview => Input line view. - ScInputHandler has a function StartTable. What is it really doing ? I have been going on pure assumptions which actually complicate things later on. Appreciate all your help Niklas, a million thanks ! On Tue, Apr 6, 2010 at 11:02 AM, Niklas Nebel <[email protected]> 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 but didn't find anything >> substantial. >> > > cell.cxx and cell2.cxx has the implementation of the different types of > cell content, ScBaseCell and its subclasses. Formulas are handled by > ScFormulaCell. > > ScDocument has methods like GetCell/PutCell to access cells in a document. > ScDocFunc has methods that modify a document and handle things like repaint > and undo. > > Does that help? > > > Niklas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
