PictureXmlSaver

Overview

PictureXmlSaver is a class in Aspose.Cells FOSS for Python.

Handles writing picture-related drawing/media XML payloads.

This class provides 6 methods for working with PictureXmlSaver objects in Python programs. Available methods include: __init__, collect_picture_refs, format_picture_anchors_xml, format_picture_relationships_xml, get_extra_content_type_overrides, image_content_type_for_extension. All public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.

Methods

SignatureDescription
__init__(escape_xml)
collect_picture_refs(zipf, worksheet, sheet_num, write_part_once)Gathers picture references from a worksheet for XML saving
format_picture_anchors_xml(picture_refs, chart_rel_count)Creates XML for picture anchor elements from given references
format_picture_relationships_xml(picture_refs, chart_rel_count)Generates XML for picture relationship entries
get_extra_content_type_overrides(workbook)Returns extra content type overrides required for a workbook
image_content_type_for_extension(extension)Maps an image file extension to its MIME type

See Also