Documentation for class expression :


Properties:

name type default params representant foreign foreign_prop position
version CO_INTEGER 0 READONLY=1 1 0
deleted CO_INTEGER 0 READONLY=1 1 0
id_spreadsheet CO_INTEGER 0 READONLY=1 1 0
id_column CO_INTEGER 0 READONLY=1 1 0
id_row CO_INTEGER 0 READONLY=1 1 0
expression_parsed CO_STRING '' READONLY=1 1 0

Methods:


method check_acl
description: Put 'movable' string representation of expression into the user's clipboard.
parameters:

id_spreadsheet
type CO_INTEGER


method set
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_column
type CO_INTEGER

id_row
type CO_INTEGER

expression_script
type CO_STRING


method purge
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_column
type CO_INTEGER

id_row
type CO_INTEGER


method purgeExpressionsInRow
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_row
type CO_INTEGER


method purgeExpressionsInColumn
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_column
type CO_INTEGER


method setParsed
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_column
type CO_INTEGER

id_row
type CO_INTEGER

expression_parsed
type CO_STRING


method eval
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_column
type CO_INTEGER

id_row
type CO_INTEGER

expression_parsed
type CO_STRING


method getCellRefs
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER


method copyExpressionToClipboard
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_column
type CO_INTEGER

id_row
type CO_INTEGER


method setExpressionFromClipboard
description: Creates or updates expression from user's clipboard.
description: New copy of the expression previously saved with copyExpressionToClipboard is placed in new 'virtual' cell.
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_column
type CO_INTEGER

id_row
type CO_INTEGER


method evalDependent
description: Finds and evaluates expressions depending on given cell.
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_column
type CO_INTEGER

id_row
type CO_INTEGER


method evalRectangle
description: Finds and evaluates expressions belonging to and depending on given rectangle.
description: Supported : dependencies nested up to level EXPR_MAX_DEP (set in expression.t)
description: By default, if id of row/column is not specified, rectangle is extended
description: so that by specifying id_spreadsheet only you force evaluation for complete spreadsheet.
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_column
type CO_INTEGER

id_row
type CO_INTEGER

id_last_column
type CO_INTEGER

id_last_row
type CO_INTEGER


method fillDownExpression
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_column
type CO_INTEGER

id_row
type CO_INTEGER

id_last_row
type CO_INTEGER