openpyxl.chart.print_settings module¶
-
class
openpyxl.chart.print_settings.PageMargins(l=0.75, r=0.75, t=1, b=1, header=0.5, footer=0.5)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.SerialisableIdentical to openpyxl.worksheet.page.Pagemargins but element names are different :-/
-
b¶ Values must be of type <class ‘float’>
-
bottom¶ Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptve name is desired (eg. “underline” for “u”)
Values must be of type <class ‘float’>
-
header¶ Values must be of type <class ‘float’>
-
l¶ Values must be of type <class ‘float’>
-
left¶ Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptve name is desired (eg. “underline” for “u”)
-
r¶ Values must be of type <class ‘float’>
-
right¶ Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptve name is desired (eg. “underline” for “u”)
-
t¶ Values must be of type <class ‘float’>
-
tagname= 'pageMargins'¶
-
top¶ Aliases can be used when either the desired attribute name is not allowed or confusing in Python (eg. “type”) or a more descriptve name is desired (eg. “underline” for “u”)
-
-
class
openpyxl.chart.print_settings.PrintSettings(headerFooter=None, pageMargins=None, pageSetup=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.SerialisableValues must be of type <class ‘openpyxl.worksheet.header_footer.HeaderFooter’>
-
pageMargins¶ Values must be of type <class ‘openpyxl.chart.print_settings.PageMargins’>
-
pageSetup¶ Values must be of type <class ‘openpyxl.worksheet.page.PrintPageSetup’>
-
tagname= 'printSettings'¶