---
Product: Aspose.Cells
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/python/workbookpropertiesxmlwriter
---

# WorkbookPropertiesXMLWriter

## Overview

`WorkbookPropertiesXMLWriter` is a class in Aspose.Cells FOSS for Python.

Handles writing workbook properties to XML format for .xlsx files.

This class declares 7 methods for WorkbookPropertiesXMLWriter objects in Python programs.
Available methods include: `__init__`, `format_book_views_xml`, `format_calc_pr_xml`, `format_defined_names_xml`, `format_file_version_xml`, `format_workbook_pr_xml`, `format_workbook_protection_xml`.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(escape_xml_func)` | Initializes a new instance of the WorkbookPropertiesXMLWriter class. |
| `format_file_version_xml(file_version)` | Formats file version element as XML. |
| `format_workbook_protection_xml(protection)` | Formats workbook protection element as XML. |
| `format_workbook_pr_xml(workbook_pr)` | Formats workbook properties (workbookPr) element as XML. |
| `format_book_views_xml(view)` | Formats book views element as XML. |
| `format_calc_pr_xml(calculation)` | Formats calculation properties element as XML. |
| `format_defined_names_xml(defined_names)` | Formats defined names element as XML. |

## See Also

- [Aspose.Cells for Python — Enterprise API Reference](https://reference.aspose.com/cells/python-java/)