XMLSaver
Overview
XMLSaver is a class in Aspose.Cells FOSS for Python.
Handles saving workbook data to XML format for .xlsx files.
Methods
| Signature | Description |
|---|---|
__init__(workbook) | Initializes a new instance of the XMLSaver class. |
include_ref(ref) | Adds a reference to an external part for later inclusion |
save(file_path) | Saves the workbook to an Excel file (.xlsx format). |
append_override(part_name, content_type) | Registers a custom part with its content type to override defaults |
col_signature(col_idx) | Returns a signature string for the specified column index |
emit_range(start_idx, end_idx, sig) | Writes a range of data from start to end using the provided signature |
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. |