PictureXmlLoader

PictureXmlLoader

Overview

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

Loads pictures from worksheet drawing parts.

This class provides 4 methods for working with PictureXmlLoader objects in Python programs. Available methods include: __init__, collect_drawing_image_parts, load_pictures, resolve_content_type. All public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.

Methods

SignatureDescription
__init__()
collect_drawing_image_parts(worksheet, drawing_path, drawing_rels, drawing_rel_types, zipf, content_type_overrides, content_type_defaults)Gathers image parts referenced in a worksheet’s drawing XML
load_pictures(worksheet, drawing_root, drawing_path, drawing_rels, zipf, get_anchor_int, content_type_overrides, content_type_defaults, drawing_rel_types)Loads picture objects into a worksheet based on drawing XML and relationships
resolve_content_type(part_path, content_type_overrides, content_type_defaults)Returns the MIME type for a part using overrides and default content types

See Also