CellValueHandler
Overview
CellValueHandler is a class in Aspose.Cells FOSS for Python.
Handles cell value import and export operations according to ECMA-376 specification.
This class provides 6 methods for working with CellValueHandler objects in Python programs.
Available methods include: excel_serial_to_datetime, format_value_for_xml, get_cell_type, get_error_type, is_error_value, parse_value_from_xml.
All public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Methods
| Signature | Description |
|---|---|
get_cell_type(value) | Determines the ECMA-376 cell type attribute for a given value. |
format_value_for_xml(value, cell_type) | Formats a cell value for XML output according to ECMA-376 specification. |
parse_value_from_xml(value_str, cell_type, shared_strings) | Parses a cell value from XML according to ECMA-376 specification. |
excel_serial_to_datetime(serial_date) | Converts an Excel serial date number to a datetime object. |
is_error_value(value) | Checks if a value is a valid ECMA-376 error value. |
get_error_type(value) | Returns the error type name for a given error value. |