Documentation for class spreadsheet_column (inherits from generic_iacl):


Properties:

name type default params representant foreign foreign_prop position
id CO_INTEGER SEQUENCE READONLY=1 1 0
version CO_INTEGER 0 READONLY=1 1 0
deleted CO_INTEGER 0 READONLY=1 1 0
column_number CO_INTEGER 0 1 44
length CO_INTEGER 0 1 44
spreadsheet_id CO_INTEGER 0 1 spreadsheet id 44
name CO_STRING '' 1 44
align CO_STRING '' 1 44
fontsize CO_STRING '' 1 44
textstyle CO_STRING '' 1 44
textcolor CO_STRING '' 1 44
fontfamily CO_STRING '' 1 44

Methods:


method insertBeforeColumn
description: creates new column and insert before given
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER


method insertAfterColumn
description: creates new column and insert after given
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER


method delete
description: deletes column
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

version
description: Version of object to be changed this must be current version in database. If version = -1 than it is not used. Default value is -1.
type CO_INTEGER


method setAttribute
description: changes column attribute
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

column_id
type CO_INTEGER

attribute_name
type CO_STRING

attribute_value
type CO_STRING_SQL_VALUE


method getAttribute
description: obtains column attribute
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

column_id
type CO_INTEGER

attribute_name
type CO_STRING


method getIdByNumber
description: Requires object number and id of the container (parent);
description: returns id of the element
description: Does not generate actions.
description: It GET for spreadsheet - but class method because we do not know column id.
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_parent
type CO_INTEGER

number
type CO_INTEGER