WorksheetPropertiesXMLWriter
WorksheetPropertiesXMLWriter
Overview
WorksheetPropertiesXMLWriter 是Python的Aspose.Cells FOSS中的一个类.
处理写作表属性为xlsx文件的XML格式.
本类提供了8种方法,用于在Python程序中使用WorksheetPropertiesXMLWriter对象. 有的方法包括: __init__, format_header_footer_xml, format_page_margins_xml, format_page_setup_xml, format_print_options_xml, format_sheet_format_pr_xml, format_sheet_protection_xml, format_sheet_views_xml. 在安装Python包的Aspose.Cells FOSS后,所有公众成员都可以访问任何 Python 应用程序.
Methods
| Signature | Description |
|---|---|
__init__(escape_xml_func) | 启动一个新的WorksheetPropertiesXMLWriter类实例. |
format_sheet_views_xml(properties, is_selected) | 格式表视图元素为XML. |
format_sheet_format_pr_xml(format_props) | 格式表格型属性元素为XML. |
format_sheet_protection_xml(protection) | 将表保护元素格式为XML. |
format_print_options_xml(print_options) | 格式化打印选项元素为XML. |
format_page_margins_xml(margins) | 将页面边缘元素格式为XML. |
format_page_setup_xml(page_setup) | 将页面设置元素格式为XML. |
format_header_footer_xml(header_footer) | 将标题/脚本元素格式为XML. |