OdsCellField

OdsCellField class

Represents the cell field of ods.

class OdsCellField;

Methods

MethodDescription
getCustomFormat()Represents the custom format of the field’s value.
setCustomFormat(string)Represents the custom format of the field’s value.
getFieldType()Gets and sets the type of the field.
setFieldType(OdsCellFieldType)Gets and sets the type of the field.
getRow()Get and sets the row index of the cell.
setRow(number)Get and sets the row index of the cell.
getColumn()Get and sets the column index of the cell.
setColumn(number)Get and sets the column index of the cell.

getCustomFormat()

Represents the custom format of the field’s value.

getCustomFormat() : string;

setCustomFormat(string)

Represents the custom format of the field’s value.

setCustomFormat(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getFieldType()

Gets and sets the type of the field.

getFieldType() : OdsCellFieldType;

Returns

OdsCellFieldType

setFieldType(OdsCellFieldType)

Gets and sets the type of the field.

setFieldType(value: OdsCellFieldType) : void;

Parameters:

ParameterTypeDescription
valueOdsCellFieldTypeThe value to set.

getRow()

Get and sets the row index of the cell.

getRow() : number;

setRow(number)

Get and sets the row index of the cell.

setRow(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getColumn()

Get and sets the column index of the cell.

getColumn() : number;

setColumn(number)

Get and sets the column index of the cell.

setColumn(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.