PictureXmlSaver
PictureXmlSaver
Overview
PictureXmlSaver 是Python的Aspose.Cells FOSS中的一个类.
处理写图片相关的绘画/媒体XML有效载荷.
这个类提供了6种方法,用于在Python程序中使用PictureXmlSaver 对象. 有的方法包括: __init__, collect_picture_refs, format_picture_anchors_xml, format_picture_relationships_xml, get_extra_content_type_overrides, image_content_type_for_extension. 在安装Python包的Aspose.Cells FOSS后,所有公众成员都可以访问任何 Python 应用程序.
Methods
| Signature | Description |
|---|---|
__init__(escape_xml) | |
collect_picture_refs(zipf, worksheet, sheet_num, write_part_once) | 收集一个工作表中的图片引用,以保存XML |
format_picture_anchors_xml(picture_refs, chart_rel_count) | 从给定的引用创建图片标元素的XML |
format_picture_relationships_xml(picture_refs, chart_rel_count) | 生成图片关系条目的 XML |
get_extra_content_type_overrides(workbook) | 返回工作簿所需的额外内容类型覆盖值 |
image_content_type_for_extension(extension) | 将图像文件扩展与其MIME类型相映射 |