CommentXMLWriter
CommentXMLWriter
Overview
CommentXMLWriter 是Python的Aspose.Cells FOSS中的一个类.
将评论数据写入XML格式.
本类提供了6种方法,用于在Python程序中使用CommentXMLWriter对象. 有的方法包括: __init__, cell_reference_sort_key, escape_xml, worksheet_has_comments, write_comments_xml, write_vml_drawing_xml. 在安装Python包的Aspose.Cells FOSS后,所有公众成员都可以访问任何 Python 应用程序.
Methods
| Signature | Description |
|---|---|
__init__() | 启动CommentXMLWriter. |
escape_xml(text) | 在文本中逃脱特殊XML字符. |
worksheet_has_comments(worksheet) | 检查工作表是否有任何评论. |
cell_reference_sort_key(ref) | 将一个单元格引用转换为 (行,列) 组以进行排序. |
write_comments_xml(zipf, worksheet, sheet_num) | 写一个工作表的xl/comments{sheet_num}.xml文件. |
write_vml_drawing_xml(zipf, worksheet, sheet_num) | 写VML绘制XML,用于评论定位. |