CommenterXMLWriter
Vue de l’ensemble
‘CommentXMLWriter’ est une classe dans Aspose.Cells FOSS pour Python.
Écrire les données de commentaire dans le format XML.
Cette classe fournit 6 méthodes pour travailler avec les objets CommentXMLWriter dans les programmes Python. Les méthodologies disponibles comprennent: __init__, cell_reference_sort_key , escape_xml ; worksheet_has_comments; `write_ comments_ xml‘ ; ‘writ_vml_drawing_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 |
|---|---|
__init__() | Initialize the CommentXMLWriter. |
escape_xml(text) | Escapes special XML characters in text. |
worksheet_has_comments(worksheet) | Checks if a worksheet has any comments. |
cell_reference_sort_key(ref) | Converts a cell reference to a (row, col) tuple for sorting. |
write_comments_xml(zipf, worksheet, sheet_num) | Writes xl/comments{sheet_num}.xml file for a worksheet. |
write_vml_drawing_xml(zipf, worksheet, sheet_num) | Writes VML drawing XML for comment positioning. |
Voir aussi
- Aspose.Cells pour Python — Enterprise API Reference