File: CellContent.txt

package info (click to toggle)
gnumeric 1.4.3-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 71,576 kB
  • ctags: 28,555
  • sloc: ansic: 282,333; xml: 45,788; sh: 8,479; makefile: 3,119; yacc: 1,129; lisp: 200; perl: 173; python: 86
file content (40 lines) | stat: -rw-r--r-- 1,133 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* $Id: CellContent.txt,v 1.3 2003/10/11 05:36:08 jody Exp $/

Cell Content		Jody Goldberg <jody@gnome.org>


Overview
    GnmCell is one of the most widely used aspects of Gnumeric.  This document
    describes the operations and state changes that are available.

Content
    location : Cells contain pointers to their sheet, the row, and the column
               that contains them.  This may change.

    value : A GnmValue *.  All displayable cells should have a value.

    renderedvalue : A placeholder for future use.

    parse_format : Expressions store the results of autoformat and values store the
    	           format used to parse the value that was entered.

LifeCycle

    When a cell is first created it is initialized to have value_empty and no location.

Actions
    - Mark sheet as dirty
    - Queue depends for recalc
    - Calculate
    - Render
    - Dimension
    - Spans
    - Redraw
    - link expression to master list
    - Update the edit area
    - Recalc the auto expression

Future plans
    - just in time rendering and span calculation
    - span ovelap
    - Have spans use run length encoding