preprocess_exported_value method

preprocess_exported_value

Preprocess the value of current cell to be exported.

Returns

Whether current cell has been replaced with different type and/or value.

def preprocess_exported_value(self, cell_row, cell_column, value):
    ...
ParameterTypeDescription
cell_rowintthe row index of current cell
cell_columnintthe column index of cell
valueCellValuevalue and type of current cell

Remarks

The row and column index is cell’s absolute index in the worksheet, not index in the exported table. User may check the value of current cell in the override implementation of this method, if current cell needs to be replaced with other type and value, here the implementation should set the expected type and value to the CellValue object and return true. By default this method does nothing and returns false.

See Also