OdsCellField

OdsCellField class

Represents the cell field of ods.

class OdsCellField;

Properties

PropertyTypeDescription
customFormatstringRepresents the custom format of the field’s value.
fieldTypeOdsCellFieldTypeGets and sets the type of the field.
rownumberGet and sets the row index of the cell.
columnnumberGet and sets the column index of the cell.

Methods

MethodDescription
getCustomFormat()@deprecated. Please use the ‘customFormat’ property instead. Represents the custom format of the field’s value.
setCustomFormat(string)@deprecated. Please use the ‘customFormat’ property instead. Represents the custom format of the field’s value.
getFieldType()@deprecated. Please use the ‘fieldType’ property instead. Gets and sets the type of the field.
setFieldType(OdsCellFieldType)@deprecated. Please use the ‘fieldType’ property instead. Gets and sets the type of the field.
getRow()@deprecated. Please use the ‘row’ property instead. Get and sets the row index of the cell.
setRow(number)@deprecated. Please use the ‘row’ property instead. Get and sets the row index of the cell.
getColumn()@deprecated. Please use the ‘column’ property instead. Get and sets the column index of the cell.
setColumn(number)@deprecated. Please use the ‘column’ property instead. Get and sets the column index of the cell.
isNull()Checks whether the implementation object is null.

customFormat

Represents the custom format of the field’s value.

customFormat : string;

fieldType

Gets and sets the type of the field.

fieldType : OdsCellFieldType;

row

Get and sets the row index of the cell.

row : number;

column

Get and sets the column index of the cell.

column : number;

getCustomFormat()

@deprecated. Please use the ‘customFormat’ property instead. Represents the custom format of the field’s value.

getCustomFormat() : string;

setCustomFormat(string)

@deprecated. Please use the ‘customFormat’ property instead. Represents the custom format of the field’s value.

setCustomFormat(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getFieldType()

@deprecated. Please use the ‘fieldType’ property instead. Gets and sets the type of the field.

getFieldType() : OdsCellFieldType;

Returns

OdsCellFieldType

setFieldType(OdsCellFieldType)

@deprecated. Please use the ‘fieldType’ property instead. Gets and sets the type of the field.

setFieldType(value: OdsCellFieldType) : void;

Parameters:

ParameterTypeDescription
valueOdsCellFieldTypeThe value to set.

getRow()

@deprecated. Please use the ‘row’ property instead. Get and sets the row index of the cell.

getRow() : number;

setRow(number)

@deprecated. Please use the ‘row’ property instead. Get and sets the row index of the cell.

setRow(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getColumn()

@deprecated. Please use the ‘column’ property instead. Get and sets the column index of the cell.

getColumn() : number;

setColumn(number)

@deprecated. Please use the ‘column’ property instead. Get and sets the column index of the cell.

setColumn(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;