XMLSaver

Overview

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

Handles saving workbook data to XML format for .xlsx files.

This class declares 15 methods for XMLSaver objects in Python programs. Available methods include: __init__, append_override, col_signature, emit_range, get_or_create_alignment_style, get_or_create_border_style, get_or_create_cell_style, get_or_create_fill_style, get_or_create_font_style, get_or_create_number_format_style, get_or_create_protection_style, include_ref, and 3 additional methods. Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.

Methods

SignatureDescription
__init__(workbook)Initializes a new instance of the XMLSaver class.
include_ref(ref)Calls include_ref(ref) on this XMLSaver instance.
save(file_path)Saves the workbook to an Excel file (.xlsx format).
append_override(part_name, content_type)Calls append_override(part_name, content_type) on this XMLSaver instance.
col_signature(col_idx)Calls col_signature(col_idx) on this XMLSaver instance.
emit_range(start_idx, end_idx, sig)Calls emit_range(start_idx, end_idx, sig) on this XMLSaver instance.
replace_column(mo)Calls replace_column(mo) on this XMLSaver instance.
register_default_styles()Registers default styles for fonts, fills, borders, and alignments.
get_or_create_font_style(font)Gets or creates a font style index.
get_or_create_fill_style(fill)Gets or creates a fill style index.
get_or_create_border_style(borders)Gets or creates a border style index.
get_or_create_alignment_style(alignment)Gets or creates an alignment style index.
get_or_create_protection_style(protection)Gets or creates a protection style index.
get_or_create_number_format_style(number_format)Gets or creates a number format style index.
get_or_create_cell_style(cell)Gets or creates a cell xf style index.

See Also

 English