CellValueHandler
Vue de l’ensemble
‘CellValueHandler’ est une classe dans Aspose.Cells FOSS pour Python.
Traite les opérations d’importation et d’exportation de valeur cellulaire conformément à la spécification ECMA-376.
Cette classe fournit 6 méthodes pour travailler avec les objets CellValueHandler dans les programmes Python. Les méthodologies disponibles comprennent: excel_serial_to_datetime, format_value_for_xml , get_cell_type ، get_error_tipe‘, 'is_errore_valuue et `parse_ Value-from_Xml’. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de l’Aspose.Cells FOSS pour le package PyThone.
méthodes
| 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. |
Voir aussi
- Aspose.Cells pour Python — Enterprise API Reference