WorksheetPropertiesXMLWriter
Przegląd
WorksheetPropertiesXMLWriter jest klasą w Aspose.Cells FOSS dla Python.
Obsługuje zapisywanie właściwości arkusza do formatu XML dla plików .xlsx.
Ta klasa zapewnia 8 metod do pracy z obiektami WorksheetPropertiesXMLWriter w programach Python. Dostępne metody to: __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. Wszystkie publiczne elementy są dostępne dla każdej aplikacji Python po zainstalowaniu pakietu Aspose.Cells FOSS dla Python.
Metody
| Sygnatura | Opis |
|---|---|
__init__(escape_xml_func) | Inicjalizuje nową instancję klasy WorksheetPropertiesXMLWriter. |
format_sheet_views_xml(properties, is_selected) | Formatuje element widoków arkusza jako XML. |
format_sheet_format_pr_xml(format_props) | Formatuje element właściwości formatu arkusza jako XML. |
format_sheet_protection_xml(protection) | Formatuje element ochrony arkusza jako XML. |
format_print_options_xml(print_options) | Formatuje element opcji drukowania jako XML. |
format_page_margins_xml(margins) | Formatuje element marginesów strony jako XML. |
format_page_setup_xml(page_setup) | Formatuje element ustawień strony jako XML. |
format_header_footer_xml(header_footer) | Formatuje element nagłówka/stopki jako XML. |